2 files changed
+2
-2
No files matched your search
@@ -170,7 +170,7 @@ export const streamText = (options: WithUnknown<WithTelemetry<StreamTextOptions>
|
||||
...toolCall,
|
||||
function: {
|
||||
...toolCall.function,
|
||||
arguments: toolCall.function.arguments!,
|
||||
arguments: toolCall.function.arguments ?? '',
|
||||
},
|
||||
}
|
||||
pushEvent({ toolCallId: toolCall.id, toolName: toolCall.function.name!, type: 'tool-call-streaming-start' })
|
||||
|
||||
@@ -152,7 +152,7 @@ export const streamText = (options: WithUnknown<StreamTextOptions>): StreamTextR
|
||||
...toolCall,
|
||||
function: {
|
||||
...toolCall.function,
|
||||
arguments: toolCall.function.arguments!,
|
||||
arguments: toolCall.function.arguments ?? '',
|
||||
},
|
||||
}
|
||||
pushEvent({ toolCallId: toolCall.id, toolName: toolCall.function.name!, type: 'tool-call-streaming-start' })
|
||||
|
||||
Reference in new issue
Block a user