Repository navigation
Description
What happened
The gateway groups claude-sonnet-5-5 and claude-haiku-5-5 (#3117) cannot serve a call that asks for a structured reply, which is how the stage, refine and intake jobs call a model. LiteLLM turns response_format into a forced tool call (tool_choice of type tool) unless its model map says that the model supports native structured output. The cost map of the pinned image (v1.103.0) lists no Claude 5.5 model, so LiteLLM takes the tool path. The Anthropic API answers HTTP 400 for Sonnet 5.5: tool_choice: type "tool" and "any" are not supported for this model.
Evidence: devops roadmap eval stage --model claude-sonnet-5-5 ended 16 of 16 cases with AIClientError after about 3 seconds each, with that message. Haiku 5.5 accepts the forced tool but filled the plan schema wrongly in 35 of 40 cases (StructuredOutputValidationError).
With supports_native_structured_output: true and supports_response_schema: true in the model_info of each group, LiteLLM sends the schema as Anthropic output_format, and both models answer. A local proxy of the same LiteLLM version showed it: Sonnet 5.5 staged 3 of 4 stage cases (before: 0 of 16), and Haiku 5.5 staged 1 of 4.
What should happen
Both Claude groups serve structured replies. A test fails if a Claude group lacks the two flags.
Acceptance criteria
-
model_infoofclaude-sonnet-5-5andclaude-haiku-5-5sets both flags. - The hosted-group check fails when a Claude group lacks either flag.
- After the rollout,
devops roadmap eval stage --model claude-sonnet-5-5 --limit 2stages at least one case.
Activity
dan-petty commentedon Nov 2, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(k8s)scope of the title gives the scope.All 16 test cases fail, blocking stage, refine and intake jobs that use these models.Without this fix, no structured reply works for the two Claude 5.5 gateway groups.The fix sets two boolean flags in model_info and adds a check for them.Both address structured replies on the Claude path, but 1419 adds client-side provider constraints while this sets gateway model_info flags for LiteLLM.chore(main): release 0.39.1 (#3139)
docs(security): name the Claude structured output settings (#3143)