Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Improve CPU usage while streaming tool-call arguments by reusing the prompt's tool list.

## 0.133.3

- Add unit and integration tests covering parent↔subagent end-to-end communication so regressions like the v0.133.1 spawn-agent breakage are caught automatically.
Expand Down
3 changes: 1 addition & 2 deletions src/eca/features/chat.clj
Original file line number Diff line number Diff line change
Expand Up @@ -828,8 +828,7 @@
(lifecycle/finish-chat-prompt! :idle chat-ctx)))))
:on-prepare-tool-call (fn [{:keys [id full-name arguments-text]}]
(lifecycle/assert-chat-not-stopped! chat-ctx)
(let [all-tools (f.tools/all-tools chat-id agent @db* config)
tool (f.tools/resolve-tool full-name all-tools)
(let [tool (f.tools/resolve-tool full-name all-tools)
resolved-full-name (or (:full-name tool) full-name)]
(when-not tool
(logger/warn logger-tag "Tool not found for prepare"
Expand Down