Skip to content

Commit ab53d8c

Browse files
committed
Assoc parallel_tool_calls to openai-chat only if truth.
Fixes 169
1 parent 9486636 commit ab53d8c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
- Assoc `parallel_tool_calls` to openai-chat only if truth.
6+
57
## 0.71.2
68

79
- Fix regression in `/compact` command. #162

src/eca/llm_providers/openai_chat.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@
287287
:messages messages
288288
:temperature temperature
289289
:stream true
290-
:parallel_tool_calls parallel-tool-calls?
291290
:max_completion_tokens 32000}
291+
:parallel_tool_calls (or parallel-tool-calls? (:parallel_tool_calls extra-payload))
292292
:tools (when (seq tools) (->tools tools)))
293293
extra-payload)
294294

0 commit comments

Comments
 (0)