Merge pull request #1429 from dleen/data

[bug] unbound variable in bedrock
This commit is contained in:
Krish Dholakia 2024-01-12 22:16:11 +05:30 committed by GitHub
commit 554080804f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -498,6 +498,8 @@ def completion(
"textGenerationConfig": inference_params,
}
)
else:
data = json.dumps({})
## COMPLETION CALL
accept = "application/json"