Skip to content

Commit 27697fd

Browse files
committed
Fix summary text for tool calls using api.
1 parent 42617d1 commit 27697fd

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 setting the `web-search` capability in the relevant models
6+
- Fix summary text for tool calls using `openai-chat` api.
67

78
## 0.50.1
89

src/eca/llm_providers/openai_chat.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
(filter #(every? % [:id :name :arguments-text]))
137137
(map (fn [{:keys [arguments-text name] :as tool-call}]
138138
(try
139-
(assoc tool-call :arguments (json/parse-string arguments-text true))
139+
(assoc tool-call :arguments (json/parse-string arguments-text))
140140
(catch Exception e
141141
(let [error-msg (format "Failed to parse JSON arguments for tool '%s': %s"
142142
name (ex-message e))]

0 commit comments

Comments
 (0)