Skip to content

Commit 040d0bc

Browse files
committed
Fix simple summaries in tool calls for ollama
1 parent cfedb9b commit 040d0bc

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44

55
- Fix native image on Windows not running on older CPUs by enabling `-march=compatibility`. #362
6+
- Fix simple summaries in tool calls for ollama.
67

78
## 0.114.0
89

src/eca/llm_providers/ollama.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
call-id (str (random-uuid))
144144
tool-call {:id call-id
145145
:full-name (:name function)
146-
:arguments (:arguments function)}]
146+
:arguments (update-keys (:arguments function) name)}]
147147
(on-prepare-tool-call (assoc tool-call :arguments-text ""))
148148
(swap! tool-calls* assoc rid tool-call))
149149

0 commit comments

Comments
 (0)