mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
[bug] unbound variable in bedrock
note: the code was written as `json.dumps({})` even though it is more verbose in order to facilitate easier refactoring in the future
fixes #1428
This commit is contained in:
parent
51110bfb62
commit
8b021fc4cd
1 changed files with 2 additions and 0 deletions
|
|
@ -498,6 +498,8 @@ def completion(
|
|||
"textGenerationConfig": inference_params,
|
||||
}
|
||||
)
|
||||
else:
|
||||
data = json.dumps({})
|
||||
|
||||
## COMPLETION CALL
|
||||
accept = "application/json"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue