From 9a4f3a7dbf8f29408848c94cf933d1530ae64526 Mon Sep 17 00:00:00 2001 From: Jialin Tian Date: Sat, 21 Sep 2024 04:49:28 +0800 Subject: [PATCH] feat: add ParallelToolCalls to RunRequest (#847) --- run.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run.go b/run.go index 5598f1dfb..0cdec2bdc 100644 --- a/run.go +++ b/run.go @@ -37,6 +37,8 @@ type Run struct { MaxCompletionTokens int `json:"max_completion_tokens,omitempty"` // ThreadTruncationStrategy defines the truncation strategy to use for the thread. TruncationStrategy *ThreadTruncationStrategy `json:"truncation_strategy,omitempty"` + // Disable the default behavior of parallel tool calls by setting it: false. + ParallelToolCalls any `json:"parallel_tool_calls,omitempty"` httpHeader }