dwgx
dwgx
`src/devin-connect.js:1092` 的空回合过滤器只看文本与 `tool_calls`,不看图片与 reasoning: ```js if (msg.role === 'assistant' && messageText(msg.content).trim() === '' && !msg.tool_calls?.length) { continue; } ``` `messageText()` 对数组只取 `text` part,所以 content 为 image-only 的 assistant 回合在这里被**整条跳过** ——...
两处都已被注释与守卫钉住「当前行为」,但「上游到底接不接受」没有实测过。两者都不得用「同源 run ≥ 3 被拒」的已测结论去外推。 ## 1. tool_result 先于其 call 的历史 `stripOrphanedToolResults()`(`src/handlers/tool-emulation.js`)收集的是**整段历史**的 call id,不是「到当前位置之前」。因此 `[tool(a), assistant(tool_calls=[a])]` 这种逆序历史在 `stripOrphans:true` 下**保留** `[4,2]`;若上游状态机要求 call 先于 result,这会在 wire 上留下孤儿。 - 已测:三入口行为一致(`direct` / `normalize` /...
# WindsurfAPI > Major Update · 2026/07/09 06:08 (UTC+9) --- # 中文 ## 关于 WindsurfAPI > 在这个项目【WindsurfAPI】起初我只是为了自己使用然而开源 然后发现Github并没有这一类的项目开源 在当时这个项目功能不齐全的时候就收获到了很多的Star和关注 以至于我有动力做到现在 已经成功反代Fable5进行编码阅读 原生Tool_Call 以及 Vision识别图片工作 我们依旧使用0个NPM 进行Nodejs的网页操作 。 --- ## 实践视频...
### Description With `compaction.experimentalContextManagement: true` the first `context_notes` write of a brand new session is always rejected. The tool returns `Experimental context notes were not saved because the session branch...