You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Claude translated output schemas can falsely claim strict compatibility #6005
isAnthropicOutputSchema accepts this because its compatibility probe normalizes a clone. satisfiesOpenAiStrictSchema then sees no existing properties map to inspect, returns true, and formatFromOutputConfig forwards the unchanged schema with strict: true.
Impact
The translated Responses request claims strict compatibility but lacks the required object closure and required-field contract, so a conforming OpenAI Structured Outputs endpoint can reject it instead of applying the intended best-effort fallback.
Do not rewrite optional fields or silently close the caller's schema.
Regression coverage
Cover the helper, Anthropic inbound translation, and the parsed Responses request, including recursive nested schemas and literal/property names that resemble schema keywords.
Activity
lidge-jun commentedon Sep 27, 2026
Fixed on
devby #6006, carried in #6059 (merge8923ad9835).