Skip to content

Commit e9d8485

Browse files
authored
fix: ParallelToolCalls should be added to RunRequest (#861)
1 parent 7f80303 commit e9d8485

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ 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"`
4240

4341
httpHeader
4442
}
@@ -112,6 +110,8 @@ type RunRequest struct {
112110
ToolChoice any `json:"tool_choice,omitempty"`
113111
// This can be either a string or a ResponseFormat object.
114112
ResponseFormat any `json:"response_format,omitempty"`
113+
// Disable the default behavior of parallel tool calls by setting it: false.
114+
ParallelToolCalls any `json:"parallel_tool_calls,omitempty"`
115115
}
116116

117117
// ThreadTruncationStrategy defines the truncation strategy to use for the thread.

0 commit comments

Comments
 (0)