🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

ai

Package Overview
Dependencies
Maintainers
5
Versions
1321
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ai - npm Package Compare versions

Comparing version
7.0.0-beta.180
to
7.0.0-beta.181
+1
-1
package.json
{
"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