mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4189] [TUI] Bug: answer did not read as a call of a declared tool and went back as text #1841
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1841
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rugabunda on GitHub (Oct 26, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4189
Happened on a fresh install of the latest Strata 0.2.6, toolcalls go to text instead of actual commands.
Git cloned the repo and setup Strata via commandline.
Win 11 26H2 / RTX 3080 TI
@github-actions[bot] commented on GitHub (Oct 26, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@github-actions[bot] commented on GitHub (Oct 26, 2026):
Thanks, this follows the format now.
@Niko1221 commented on GitHub (Oct 29, 2026):
Which client sends the tools (OpenCode, omp, the app), which model and quant, and what does the server line "1 <tool_call> block(s) ... did not read as a call" say? It lists the names the model wrote and the request's declared names.
@rugabunda commented on GitHub (Oct 30, 2026):
opencode 1.19.5 commandline cli, all Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S and iq3_xss;
here is one (both are actually iq3_xss)
[strata] 5 <tool_call> block(s) in the answer did not read as a call of a declared tool and went back as text (a name the request did not declare, or a form the template does not use); the names the model wrote: bash, bash, bash, bash, bash; the response carries them as strata_rejected_tool_calls, /metrics counts them
here is another
[strata] 3 <tool_call> block(s) in the answer did not read as a call of a declared tool and went back as text (a name the request did not declare, or a form the template does not use); the names the model wrote: bash, glob, bash; the response carries them as strata_rejected_tool_calls, /metrics counts them
https://github.com/Niko1221/Strata/issues/4663
I get around it by using a fork of strata (nvfp4) and compiling/copying just your updated engine.
@rugabunda commented on GitHub (Oct 31, 2026):
This is using Strata 0.2.9 in opencode
[strata] 3 <tool_call> block(s) in the answer did not read as a call of a declared tool and went back as text (a name the request did not declare, or a form the template does not use); the names the model wrote: grep, glob, read; the response carries them as strata_rejected_tool_calls, /metrics counts them

@rugabunda commented on GitHub (Nov 7, 2026):
Strata 0.2.12 in opencode, first message sent; Stata makes most popular top harness opencode useless
[strata] 1 <tool_call> block(s) in the answer did not read as a call of a declared tool and went back as text (a name the request did not declare, or a form the template does not use); the names the model wrote: question; the response carries them as strata_rejected_tool_calls, /metrics counts them
@rugabunda commented on GitHub (Nov 7, 2026):
Gateway glob and todowrite now execute on 0.2.12 — the pre-switch failures don't reproduce.
Extra data point, opencode v2 + Qwen3.8-Flash-Next IQ3_XS on RTX-class box, engine 0.2.11 → 0.2.12 mid-session.
0.2.11: repeated rejections of question, todowrite, grep, read — all bare declared names, logged as strata_rejected_tool_calls and returned as text, same session, same turn shape. bash passed throughout. Nothing harness-side: the harness offered the full set and had registered the rejected tools themselves.
0.2.12: after upgrading, direct question/todowrite calls and gateway-forwarded glob/todowrite/task calls all parsed and executed in the same session. One text misfire remains (first turn after the switch, question), consistent with #4828's stated limit — no grammar on the forced opening, so stray prose/unknown names still possible, unmeasured.
The 0.2.11 signature — bare-name calls rejected while a differently-named tool always passed, model-specific, multi-tool requests only — matches #4828's forced-opener corruption exactly (their table: same model family, 0/70 → 70/70), not a schema-registration failure. #5409's alias work plausibly cleaned the rest. Suggest noting in this issue that opencode + Flash-Next users were hitting #4828 under the hood, and that strata_rejected_tool_calls logging the raw block would make name-mismatch vs opener-corruption distinguishable without a replay.
@rugabunda commented on GitHub (Nov 7, 2026):
Brand new opencode 1.19.5 session, just asked 'do some toolcalls' , this is Unsloth 3.1 Qwen 3.8 Flash Next ud-iq3_xxs
[strata] 1 <tool_call> block(s) in the answer did not read as a call of a declared tool and went back as text (a name the request did not declare, or a form the template does not use); the names the model wrote: read; the response carries them as strata_rejected_tool_calls, /metrics counts them