Sign In

ai

Package Overview
Dependencies
Maintainers
5
Versions
1428
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
6.0.242
to
6.0.243
+1
-1
dist/internal/index.js

@@ -167,3 +167,3 @@ "use strict";

// src/version.ts
var VERSION = true ? "6.0.242" : "0.0.0-test";
var VERSION = true ? "6.0.243" : "0.0.0-test";

@@ -170,0 +170,0 @@ // src/util/download/download.ts

@@ -147,3 +147,3 @@ // internal/index.ts

// src/version.ts
var VERSION = true ? "6.0.242" : "0.0.0-test";
var VERSION = true ? "6.0.243" : "0.0.0-test";

@@ -150,0 +150,0 @@ // src/util/download/download.ts

{
"name": "ai",
"version": "6.0.242",
"version": "6.0.243",
"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.",

@@ -48,3 +48,3 @@ "license": "Apache-2.0",

"@opentelemetry/api": "^1.9.0",
"@ai-sdk/gateway": "3.0.164",
"@ai-sdk/gateway": "3.0.165",
"@ai-sdk/provider": "3.0.14",

@@ -51,0 +51,0 @@ "@ai-sdk/provider-utils": "4.0.41"

@@ -480,10 +480,6 @@ import {

// Tool input validation
// Note: input is intentionally not re-validated for `output-error`
// states. A tool call that failed with an invalid-input error keeps
// its (invalid) input, and re-validating it on replay would throw a
// TypeValidationError that crashes follow-up messages.
if (
toolPart.state === 'input-available' ||
toolPart.state === 'output-available'
) {
// Note: input is intentionally not re-validated for terminal states.
// Terminal tool calls can keep invalid or incomplete input, and
// re-validating it on replay would crash follow-up messages.
if (toolPart.state === 'input-available') {
await validateTypes({

@@ -490,0 +486,0 @@ value: toolPart.input,

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

Sorry, the diff of this file is too big to display