forked from phoenix/litellm-mirror
test(test_batch_completions.py): handle anthropic overloaded error
This commit is contained in:
parent
7d38c62717
commit
4d7f4550e2
2 changed files with 3 additions and 1 deletions
|
@ -7231,7 +7231,7 @@ def exception_type(
|
|||
exception_mapping_worked = True
|
||||
raise APIError(
|
||||
status_code=original_exception.status_code,
|
||||
message=f"AnthropicException - {original_exception.message}",
|
||||
message=f"AnthropicException - {original_exception.message}. Handle with `litellm.APIError`.",
|
||||
llm_provider="anthropic",
|
||||
model=model,
|
||||
request=original_exception.request,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue