trae 0.2.9: <toolcall> without the underscore is read as <tool_call>, and a reply that ends inside an opener is cut short, not the answer (#38)
XcodeFish's two leaks on 0.2.6, still on 0.2.8: glm-5.3-flash wrote <toolcall></toolcall>, and a reply ended at "<tool_call name". Both went out as the answer with a 200. - The opener, close, leftovers and held marks take <toolcall> and </toolcall> too; an empty block is dropped as <tool_call></tool_call> is, one with JSON or parameters is a call, one that can't be read is the error it is for <tool_call>. - At the end of a reply, an opener still open (<tool_call, <tool_call name) outside backticks or a fence ends the turn with the cut-short error. Run: the issue's repro (A-G) on main and on this; the new test fails on the old index.mjs (1 fail) and passes here; HOME=$(mktemp -d) bun test for the repo, 1153 pass 0 fail; bun scripts/check.mjs green.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@magpie-community/opencode-trae-auth",
|
||||
"version": "0.2.8",
|
||||
"version": "0.2.9",
|
||||
"description": "OpenCode provider plugins for Trae: Trae CN (trae.cn) and Trae Global (trae.ai), free tier included, with Trae's own browser sign-in",
|
||||
"type": "module",
|
||||
"main": "./index.mjs",
|
||||
|
||||
Reference in New Issue
Block a user