Skip to content

fix(k8s): set native structured output on Claude groups - #3141

Merged
dan-petty merged 2 commits into
mainfrom
fix/3140-the-claude-gateway-groups-cannot-serve-a
Nov 2, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/3140-the-claude-gateway-groups-cannot-serve-a

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

What changes

The model_info of claude-sonnet-5-5 and claude-haiku-5-5 sets supports_native_structured_output and supports_response_schema. LiteLLM then sends a response_format as Anthropic output_format and not as a forced tool call.

Why

The cost map of the pinned LiteLLM image lists no Claude 5.5 model, so LiteLLM turned every structured call into a forced tool call. The Anthropic API refuses that for Sonnet 5.5 with HTTP 400, so devops roadmap eval stage --model claude-sonnet-5-5 ended 16 of 16 cases with an error. The stage, refine and intake jobs all ask for structured replies, so no Service stage could use a Claude group.

Verification

  • A local proxy of LiteLLM v1.103.0 with the same group config reproduces the 400, and with the two flags it sends output_format: Sonnet 5.5 staged 3 of 4 stage cases (before: 0 of 16) and Haiku 5.5 staged 1 of 4.
  • The hosted-group check fails when a Claude group lacks a flag (new broken edit). The gateway, manifest and docs tests pass.
  • After the rollout: devops roadmap eval stage --model claude-sonnet-5-5 --limit 2.

Closes #3140

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/k8s Kubernetes commands, Helm charts, pods, services, and policies labels Nov 2, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 2, 2026 01:08
@dan-petty
dan-petty merged commit 9ab668e into main Nov 2, 2026
19 checks passed
@dan-petty
dan-petty deleted the fix/3140-the-claude-gateway-groups-cannot-serve-a branch November 2, 2026 01:08
dan-petty pushed a commit that referenced this pull request Nov 2, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.39.1](v0.39.0...v0.39.1)
(2026-11-02)


### Bug Fixes

* **k8s:** set native structured output on Claude groups
([#3141](#3141))
([9ab668e](9ab668e)),
closes [#3140](#3140)
* **roadmap:** the Job skips a hook whose program is missing
([#3137](#3137))
([6c57c85](6c57c85)),
closes [#3136](#3136)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
dan-petty added a commit that referenced this pull request Nov 2, 2026
## What changes

`SECURITY.md` rule 12 names the three settings of a Claude gateway
group: its prices, the dropped sampling parameters, and
`supports_native_structured_output` with `supports_response_schema`. It
names the reason (a forced tool call that Sonnet 5.5 refuses) and the
test that holds them.

## Why

The hardening audit found that #3141 (issue #3140) put its guardrail in
a test and in `k8s/README.md`, and in no declared hardening surface.
`SECURITY.md` already owns the rules of the hosted groups.

Closes #3142
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/k8s Kubernetes commands, Helm charts, pods, services, and policies type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(k8s): the Claude gateway groups cannot serve a structured reply

1 participant