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:
Daniel JB Clark 2026-10-03 13:58:26 -04:00
parent 6d3a53f773
commit 0e756bf0f8
No known key found for this signature in database

View file

@ -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",