forked from phoenix/litellm-mirror
linting fix bedrock
This commit is contained in:
parent
916ce6dfd4
commit
4a61b8e380
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ def completion(
|
|||
outputText = response_body.get('results')[0].get('outputText')
|
||||
if "error" in outputText:
|
||||
raise BedrockError(
|
||||
message=outputText["error"],
|
||||
message=outputText,
|
||||
status_code=response.status_code,
|
||||
)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue