mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
test(clinepass): expect context-window and content-policy recognition
clinepass is mapped by _map_openai_exception, the same path as openai, mistral and runwayml, so a full context window and a content-policy block reach the caller as ContextWindowExceededError / ContentPolicyViolationError. The per-provider tests added upstream pin that set, and clinepass was missing from it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
6d3a53f773
commit
0e756bf0f8
1 changed files with 2 additions and 0 deletions
|
|
@ -1049,6 +1049,7 @@ PROVIDERS_THAT_RECOGNISE_A_FULL_CONTEXT_WINDOW = (
|
|||
"anthropic",
|
||||
"azure",
|
||||
"azure_ai",
|
||||
"clinepass",
|
||||
"databricks",
|
||||
"deepseek",
|
||||
"fireworks_ai",
|
||||
|
|
@ -1067,6 +1068,7 @@ PROVIDERS_THAT_RECOGNISE_A_CONTENT_POLICY_BLOCK = (
|
|||
"ai21",
|
||||
"azure",
|
||||
"azure_ai",
|
||||
"clinepass",
|
||||
"deepseek",
|
||||
"fireworks_ai",
|
||||
"groq",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue