File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ - Fix ollama tool calls.
6+
57## 0.12.6
68
79- fix web-search support for custom providers.
Original file line number Diff line number Diff line change 4949
5050(defn call-tool! [^String name ^Map arguments db config]
5151 (logger/info logger-tag (format " Calling tool '%s' with args '%s'" name arguments))
52- (if-let [native-tool-handler (get-in (native-definitions db config) [name :handler ])]
53- (native-tool-handler arguments {:db db :config config})
54- (f.mcp/call-tool! name arguments db)))
52+ (let [arguments (update-keys arguments clojure.core/name)]
53+ (if-let [native-tool-handler (get-in (native-definitions db config) [name :handler ])]
54+ (native-tool-handler arguments {:db db :config config})
55+ (f.mcp/call-tool! name arguments db))))
5556
5657(defn init-servers! [db* messenger config]
5758 (let [disabled-tools (set (get-in config [:disabledTools ] []))
You can’t perform that action at this time.
0 commit comments