fix(agent): anchor truncated response continuations
This commit is contained in:
1 parent
b19039f9d0
commit
df2e5b7225
3 files changed
+32
-5
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user