File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ - Improve CPU usage while streaming tool-call arguments by reusing the prompt's tool list.
6+
57## 0.133.4
68
79- Bugfix: stop the infinite "Cannot run program 'kill'" liveness-probe log loop for sandboxed environments.
Original file line number Diff line number Diff line change 828828 (lifecycle/finish-chat-prompt! :idle chat-ctx)))))
829829 :on-prepare-tool-call (fn [{:keys [id full-name arguments-text]}]
830830 (lifecycle/assert-chat-not-stopped! chat-ctx)
831- (let [all-tools (f.tools/all-tools chat-id agent @db* config)
832- tool (f.tools/resolve-tool full-name all-tools)
831+ (let [tool (f.tools/resolve-tool full-name all-tools)
833832 resolved-full-name (or (:full-name tool) full-name)]
834833 (when-not tool
835834 (logger/warn logger-tag " Tool not found for prepare"
You can’t perform that action at this time.
0 commit comments