mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix(bedrock_httpx.py): fix error code for not found provider/model combo to be 404
This commit is contained in:
parent
d6125ca257
commit
c1279ed809
2 changed files with 4 additions and 4 deletions
|
@ -1055,8 +1055,8 @@ class BedrockLLM(BaseLLM):
|
|||
},
|
||||
)
|
||||
raise BedrockError(
|
||||
status_code=400,
|
||||
message="Bedrock HTTPX: Unsupported provider={}, model={}".format(
|
||||
status_code=404,
|
||||
message="Bedrock HTTPX: Unknown provider={}, model={}".format(
|
||||
provider, model
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue