mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
feat(main.py): support multiple deployments in 1 completion call
This commit is contained in:
parent
62d9ce6e66
commit
1f1cf7a11c
3 changed files with 79 additions and 3 deletions
|
@ -2798,8 +2798,8 @@ def exception_type(
|
|||
)
|
||||
exception_mapping_worked = True
|
||||
raise APIError(
|
||||
status_code=original_exception.status_code,
|
||||
message=f"ReplicateException - {original_exception.message}",
|
||||
status_code=500,
|
||||
message=f"ReplicateException - {str(original_exception)}",
|
||||
llm_provider="replicate",
|
||||
model=model
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue