Skip to content

Commit 9a4f3a7

Browse files
authored
feat: add ParallelToolCalls to RunRequest (#847)
1 parent 9add1c3 commit 9a4f3a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

run.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ type Run struct {
3737
MaxCompletionTokens int `json:"max_completion_tokens,omitempty"`
3838
// ThreadTruncationStrategy defines the truncation strategy to use for the thread.
3939
TruncationStrategy *ThreadTruncationStrategy `json:"truncation_strategy,omitempty"`
40+
// Disable the default behavior of parallel tool calls by setting it: false.
41+
ParallelToolCalls any `json:"parallel_tool_calls,omitempty"`
4042

4143
httpHeader
4244
}

0 commit comments

Comments
 (0)