File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
packages/tasks/src/tasks/chat-completion Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ export interface ChatCompletionStreamOutputDelta {
273273 content ?: string ;
274274 role : string ;
275275 tool_call_id ?: string ;
276- tool_calls ?: ChatCompletionStreamOutputDeltaToolCall ;
276+ tool_calls ?: ChatCompletionStreamOutputDeltaToolCall [ ] ;
277277 [ property : string ] : unknown ;
278278}
279279export interface ChatCompletionStreamOutputDeltaToolCall {
Original file line number Diff line number Diff line change 104104 "example" : " assistant"
105105 },
106106 "tool_calls" : {
107- "$ref" : " #/$defs/ChatCompletionStreamOutputDeltaToolCall"
107+ "type" : " array" ,
108+ "items" : {
109+ "$ref" : " #/$defs/ChatCompletionStreamOutputDeltaToolCall"
110+ }
108111 }
109112 },
110113 "title" : " ChatCompletionStreamOutputToolCallDelta"
You can’t perform that action at this time.
0 commit comments