fix(agent): anchor truncated response continuations

This commit is contained in:
chengyongru authored and Xubin Ren committed 2026-07-27 01:39:46 +08:00
1 parent b19039f9d0
commit df2e5b7225
3 files changed
+32 -5

No files matched your search

+1 -1
View File
@@ -607,7 +607,7 @@ class AgentRunner:
reasoning_content=response.reasoning_content,
thinking_blocks=response.thinking_blocks,
))
messages.append(build_length_recovery_message())
messages.append(build_length_recovery_message(clean))
await hook.after_iteration(context)
continue