mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1550] A question/issue on ToolCall #621
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#621
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 @tamascogustavo on GitHub (Oct 8, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1550
First of all thanks for such an amazing project ! This has improved a lot my local usage of the model.
I am running strata with the following optimized parameters:
And i notice that many times when the model is loaded in the engine, the tool call do not work and the model behaves really bad, with more prominent loops and the quality of the reasoning is also affected.
Upon stop and restarting the engine a few times, all works fine. But no warnings or erros during loading appear in terminal logs.
@Niko1221 commented on GitHub (Oct 10, 2026):
Thank you for the details. A model that is fine after a restart and bad after another start, with no error in the log, is worth catching with the same request each time. Next time it behaves badly, please keep the engine log from the start (the lines up to "ready", with the expert cache slots and the prefill line), then restart, and send a request with the same prompt and temperature 0 on both runs. If the answers differ, post both with the two logs and the Strata version; that tells us whether it is the load (a memory or cache difference) or the sampling.
@tamascogustavo commented on GitHub (Oct 12, 2026):
Hi @Niko1221 ,
Following your instructions, I captured the engine logs from start to ready on the problematic run, restarted with
--temperature 0, and tested the model behavior on the exact same task.Here are the details, versions, startup logs, and behavior comparison:
1. Environment & Version
0.1.43Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S(with draft layer MTP / PLE)2. Behavior Comparison
Run 1 (Bad run - 08:10:32, default temperature):
read_file,read) with wrong parameters (limit), throwing:Tool execution failed: Tool 'read_file' does not exist.cat README.md,head -60) through the terminal tool to inspect files.Run 2 (Clean restart - 08:28:58, with
--temperature 0):Readtool with proper arguments (path,view_range: [1, 120]) on the first attempt without hallucinatingread_file.3. Startup Logs Comparison
There is a slight difference in allocated cache slots between the two runs:
current 4.9 GiBRAM.--temperature 0): 1588 expert cache slots (prompt borrowed 1413 CUDA0 slots),current 7.3 GiBRAM.Startup Log 1 (08:10:32 - Bad Run)
Startup Log 2 (08:28:58 - Good Run with --temperature 0)
Bellow i also share the full log and the behavior of the tool on vscode connection so you can see for your self.
strata-iq3_s_goodrun.txt
vscode_temp0_log.txt
vscode_original_log.txt
strata-iq3_s_badrun.txt
@tamascogustavo commented on GitHub (Oct 13, 2026):
Hi @Niko1221 ,
A quick follow-up: I updated to
v0.1.43.1and tested again with--temperature 0explicitly set.Unfortunately, the bad behavior still reproduced—the model again deviated from the provided tool definitions and hallucinated nonexistent tools (
read_file, etc.) despite deterministic sampling (temperature 0). This seems to rule out pure sampling randomness and points toward either long-context state, expert skipping, or VRAM pressure.Here is the startup log and some key observations from this run:
Key Observations from
v0.1.43.1:The new engine version flagged a low VRAM warning on startup:
STRATA_ROUTE_TAIL_SKIP=7had skipped over 329,798 missed experts.Startup Log (
v0.1.43.1,--temperature 0)Click to expand full startup log
Questions / Next steps:
Since
--temperature 0did not eliminate the issue, which variable should I isolate next?I was having the same issue in the previous version as well after my last message.
The agent behavior
I'll start by locating the repo and the audit findings so I can apply the fixes precisely.
Tool Call: Bash
Status: Failed
Assistant
There's no Bash tool. Available tools: AskUserQuestion, Calc, Edit, Glob, Grep, ListDirectory, Read, ReadCudgelMatch, Write. No shell/terminal tool! In other words, I can't run tests or execute commands. I can only read and edit files.So "test whether it's been resolved" — I can't run tests. I can only do static verification. I should communicate that to the user.
Let me explore with ListDirectory and Glob.
Tool Call: ListDirectory
Status: Failed
Assistant
ListDirectory doesn't exist either. The tool names in the function list are: AskUserQuestion, Calc, Edit, Glob, Grep, Read, ReadCudgelMatch, Write. Let's use Glob and Grep.Tool Call: Glob
Status: Failed
Assistant
Hmm. The only tools that actually exist are: AskUserQuestion, Calc, Edit, Grep, Read, ReadCudgelMatch, Write. Let me try Grep.Tool Call: Grep
Status: Failed
Assistant
Grep doesn't exist either?? The error message says "No tool named Grep exists". Strange. The declared tools are: AskUserQuestion, Calc, Edit, Glob, Grep, Read, ReadCudgelMatch, Write. But the runtime is rejecting Glob, Grep, ListDirectory, Bash.Let me try Read.
Tool Call: Read
Status: Failed
Assistant
Read doesn't exist either?! Let me try ReadCudgelMatch — that's the weird one.Tool Call: ReadCudgelMatch
Status: Failed
Assistant
All the tools are being rejected. Let me try Edit and Write to see if they work.Tool Call: Edit
Status: Failed
Assistant
All tools are being rejected with "No tool named X exists". This environment seems to have no working tools at all — every tool call fails. The only remaining option is AskUserQuestion, but that's probably going to fail too. Let me try it just once to confirm.Actually, wait — maybe I shouldn't waste any more calls. Let me try AskUserQuestion once. If it fails, I'll respond with plain text.
Tool Call: AskUserQuestion
Status: Failed
Assistant
All tools are broken. Nothing works. Therefore, I have no choice but to respond with plain text only.@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.