fix(tools): scope file-read dedup to model context (#5775)
* fix(tools): scope file-read dedup to model context * refactor(tools): narrow file-read context and build results lazily
This commit is contained in:
1 parent
47f77bdbcc
commit
d386ba138e
10 files changed
+417
-176
No files matched your search
@@ -517,6 +517,8 @@ class AgentRunner:
|
||||
workspace_violation_counts=workspace_violation_counts,
|
||||
hook=hook,
|
||||
context=context,
|
||||
model_messages=messages_for_model,
|
||||
compacted_tool_results=request_state.compacted_tool_results,
|
||||
)
|
||||
tool_events.extend(new_events)
|
||||
tools_used.extend(
|
||||
|
||||
Reference in new issue
Block a user