Repository navigation
chore: merge train 20261104-2339 - #5370
Merged
Merged
Conversation
Qwen Code 0.24.7 sends a tool that takes no arguments (get_goal, list_agents) without `parameters`, as OpenAI's chat wire allows. Once a call is translated onto Anthropic's Messages API (by the gateway for an Anthropic-format connector, or by an OpenAI-compatible upstream serving a Claude model), such a tool arrives without `input_schema`, and every turn failed with "400 tools.2.custom.input_schema: Field required" (index 2 is get_goal in the CLI's name-sorted headless tool list). Bifrost sets input_schema only when the parameters carry a type or properties, through v2.2.4 and on its main branch as of 2026-11-02, so neither Tale's wrapper nor a gateway bump can fix it. The harness yml gains `anthropicModels` (absent means true; Qwen Code declares false). `servedByAnthropicApi` (an Anthropic-format connector, or a Claude model id) flags such a model in the composer listing, and `harnessRunsModel` holds it off Qwen Code beside the Responses-only rule in the agent pickers, the MCP model listing, the standard agent's chooser, the project-agent check on save, the Agent runtimes status, and pinned, workflow, task and legacy agent serving, which now refuse with a reason naming the model and the harness instead of the upstream 400. The docs (en, de, fr) and the status note say which models Qwen Code can use. Closes #5353 Task: TALE-439
tale-code-bot
enabled auto-merge (rebase)
November 4, 2026 23:39
Since keeping Anthropic-served models off Qwen Code (TALE-439), task serving asks harnessModelFitFor, so no module outside agent_serving.ts imports harnessGatewayWire any more, and Knip failed merge train #5370's Checks (run 41935501926) on the unused export. The function stays, unexported, for its three callers in agent_serving.ts. Refs #5353
oxlint failed merge train #5370's Checks (run 41935501926, job Lint) in two files that keeping Anthropic-served models off Qwen Code (TALE-439) changed: - agent-equipment.ts named the harness row it looks up `row`, which the `row` parameters of the Responses-capable listing below shadowed. It is now `harnessRow`. - the harness-status route built each direct model by spreading conditional objects inside `map` (oxc/no-map-spread). It now sets the two optional fields on the object it returns. Refs #5353
tale-code-bot
added a commit
that referenced
this pull request
Nov 5, 2026
Since keeping Anthropic-served models off Qwen Code (TALE-439), task serving asks harnessModelFitFor, so no module outside agent_serving.ts imports harnessGatewayWire any more, and Knip failed merge train #5370's Checks (run 41935501926) on the unused export. The function stays, unexported, for its three callers in agent_serving.ts. Refs #5353
This was referenced Nov 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cut: 4f30243
The stable line's merge train: the one commit between
c2107b925(the merge of #5369) and the cut.4f30243c7fix(platform): keep Anthropic-served models off Qwen Code (TALE-439, closes bug(platform): Qwen Code on an Anthropic model fails every run with a 400 on tools.2.custom.input_schema #5353)trainat 21:58 UTC.get_goal,list_agents) withoutparameters, as OpenAI's chat wire allows.input_schema.400 tools.2.custom.input_schema: Field required.input_schemaonly when the parameters carry a type or properties, so neither Tale's wrapper nor a gateway bump can fix it.anthropicModels. Absent means true, and Qwen Code declares false.servedByAnthropicApiflags such a model in the composer listing: one on an Anthropic-format connector, or with a Claude model id.harnessRunsModelholds it off Qwen Code, beside the Responses-only rule, in these places:The commit is stable-line: it is a
fixof whatmainships, and 40 of its 42 files exist onmain,configs/platform/system/harnesses/qwen-code/harness.ymlamong them. So nothing moved tofeature-trainbefore this departure.mainhas not moved sincec2107b925, so the rebase merge replays the commit as it is.git merge-tree --write-tree origin/main <cut>gives the cut's own tree,3aeb37099. The train changes 42 files: 906 lines added and 170 removed.This pull request runs CI once for the whole train, in the scope its changed files select. A local reading of
.github/ci-scope.ymlplaces them in these scopes:all,integration,cli;build,build_image_inputs,build_platform,build_docs,build_storybook,build_sandbox-runtime,build_ci_tests;e2e,e2e_platform,e2e_web,e2e_docs,e2e_session-manager.That is not the full scope, and this pull request's scope job decides.
It rebase-merges when green (auto-merge). The Coder's merge-train role (TALE-234) works it until it is green, and while it is open no other stable-line train departs.
main's push CI onc2107b925:Not checked before departure: no checking worker ran the fast gate or the platform's tests on the cut. Commitlint on the commit passed. This pull request runs the full CI.
git merge-tree --write-tree --name-only origin/feature-train <cut>conflicts in one file, withfeature-trainatcaaad1972, which isrelease/0.6and holdsmain.services/platform/app/features/settings/governance/components/standard-agent-editor.tsx.9b75e284bfeat(platform): offer only EU/EEA-processing models in the pickers;5530ca72ffeat(platform): name a model by its provider wherever it stands alone.release/0.6ontomainafter this lands.Commits (1):
Task keys: TALE-439.
Fixed on this branch after departure, by the merge-train role (step 1):
Checks run 41935501926 on the cut failed in Knip (job 126942822844) and Lint (job 126942822918), in code TALE-439 changed. Two commits fix them:
a3c1f5da7fix(platform): keep harnessGatewayWire private to agent serving. Knip found the export unused, because task serving now asksharnessModelFitFor.3d4aed0befix(platform): rename a shadowed row and drop a map spread. oxlint found a shadowedrowinagent-equipment.tsand anoxc/no-map-spreadin the harness-status route.Neither commit changes behaviour. On
3d4aed0be, Knip (job 126948330214) and Lint (job 126948330400) passed in Checks run 41937015050.trainholds neither commit: it still ends at the cut, and the rebase merge carries all three tomain.