+1
-1
| { | ||
| "name": "ai", | ||
| "version": "7.0.0-beta.180", | ||
| "version": "7.0.0-beta.181", | ||
| "type": "module", | ||
@@ -5,0 +5,0 @@ "description": "AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.", |
@@ -280,3 +280,5 @@ import type { ToolSet } from '@ai-sdk/provider-utils'; | ||
| toolCallId: part.toolCallId, | ||
| output: part.output, | ||
| // UI stream chunks are serialized as JSON, which drops undefined | ||
| // properties. Use null so tool outputs always keep the output field. | ||
| output: part.output === undefined ? null : part.output, | ||
| ...(part.providerExecuted != null | ||
@@ -283,0 +285,0 @@ ? { providerExecuted: part.providerExecuted } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
6206433
0.01%64153
0.01%