mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4427] [Engine] 0.2.7 wrong response with tool call to make agent processing break #1977
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#1977
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 @cobraszhang on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4427
<tool_call> <function=pwash> <parameter=placeholder> x </tool_call>
ai response a wrong tool call to agent to make agent processing break
@github-actions[bot] commented on GitHub (Oct 28, 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:
strata --version).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
@FraYoshi commented on GitHub (Oct 28, 2026):
/reopen
I can respond for the user, as I have the same problem:
response using PTC mode outputs:
This causes the response to never arrive, and breaks the conversation in a irreparable way most of the time.
@FraYoshi commented on GitHub (Oct 28, 2026):
And it happens also with
output after 1 turn 3 steps 61.5K tok with Unsloth iq4_xs:
@miscdebris commented on GitHub (Oct 28, 2026):
Since upgrading to version 0.2.7 (from 0.1.45) I experience the same problem
Qwen 3.8 thinks and tool call is in repsonse without actually calling the tool:
@FraYoshi commented on GitHub (Oct 28, 2026):
Can confirm that with version
0.1.45this doesn't happen. Have rolled back and PTC mode on DSH works perfectly.@cobraszhang commented on GitHub (Oct 29, 2026):
yes, all things in 0.1.45 are ok
眼镜蛇
@.***
------------------ 原始邮件 ------------------
发件人: "Niko1221/Strata" @.>;
发送时间: 2026年10月29日(星期四) 上午6:43
@.>;
@.@.>;
主题: Re: [Niko1221/Strata] [Engine] 0.2.7 wrong response with tool call to make agent processing break (Issue #4427)
FraYoshi left a comment (Niko1221/Strata#4427)
Can confirm that with version 0.1.45 this doesn't happen. Have rolled back and PTC mode on DSH works perfectly.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you authored the thread.Message ID: @.***>
@Niko1221 commented on GitHub (Oct 29, 2026):
Thank you for the examples; we went through every call you posted against the parser. The
todo_writecall in your second example has a bare string between two members of an object; the parser handed that argument to the client as a string, the client's schema check failed, and the call looked like text. Fixed on our side; the fix ships in the next update (0.2.8). It is now read as the array it was meant to be, and a trailing comma, single quotes and brackets left open at the end are read the same way. Calls missing</function>are read too.Not changed: a call for a tool the request did not declare still comes back as text, on purpose; the reply then carries
strata_rejected_tool_calls. Not yet run on a real model.@Niko1221 commented on GitHub (Oct 29, 2026):
Thank you for the examples; we went through every call you posted. Fixed in 0.2.8: a bare string between members of an object is read as the array it was meant to be, and a trailing comma, single quotes, brackets left open at the end and a missing
</function>are read the same way. A call for a tool the request did not declare still comes back as text, on purpose. Runstrata update. Closing; please reopen with an example if a call is still lost.@FraYoshi commented on GitHub (Oct 29, 2026):
/reopen
I am afraid I have to reopen the issue.
Have upgraded:
strata 0.2.8 (build 0.1.54; python 3.14.8 at /usr/bin/python3)DSH,PTC modesame version as before:0.2.1-rc.2the query:
The output after 1 turn, 22 steps, 710K tok:
The output from the terminal where strata runs:
@FraYoshi commented on GitHub (Oct 29, 2026):
p.s. Apparently I do not have permissions to Reopen the issue, someone else will have to do it :)
@miscdebris commented on GitHub (Oct 30, 2026):
For me 0.2.8 also still has tool calling problems. I will add some failed tool calls in the hope this will help to fix the parser:
and
This is copied from the response body in chat format of llama-swap.
@miscdebris commented on GitHub (Oct 30, 2026):
Should we create a new issue?
@FraYoshi commented on GitHub (Oct 30, 2026):
Have recreated it as #4751