ai 7.0.130 → 7.0.131

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # ai
2
2
 
3
+ ## 7.0.131
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [866e884]
8
+ - Updated dependencies [04fdf5e]
9
+ - @ai-sdk/gateway@4.0.107
10
+
3
11
  ## 7.0.130
4
12
 
5
13
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1174,7 +1174,7 @@ function cloneValue(value) {
1174
1174
  }
1175
1175
  //#endregion
1176
1176
  //#region src/version.ts
1177
- const VERSION = "7.0.130";
1177
+ const VERSION = "7.0.131";
1178
1178
  //#endregion
1179
1179
  //#region src/util/download/download.ts
1180
1180
  /**
@@ -111,7 +111,7 @@ function asAsyncIterableStream(stream) {
111
111
  }
112
112
  //#endregion
113
113
  //#region src/version.ts
114
- const VERSION = "7.0.130";
114
+ const VERSION = "7.0.131";
115
115
  //#endregion
116
116
  //#region src/util/download/download.ts
117
117
  /**
@@ -227,7 +227,7 @@ import { generateText, isStepCount } from 'ai';
227
227
  import { searchTool } from 'some-tool-package';
228
228
 
229
229
  const { text } = await generateText({
230
- model: 'anthropic/claude-haiku-4.5',
230
+ model: 'anthropic/claude-haiku-5.5',
231
231
  prompt: 'When was Vercel Ship AI?',
232
232
  tools: {
233
233
  webSearch: searchTool,
@@ -40,7 +40,7 @@ const memory = anthropic.tools.memory_20250818({
40
40
  });
41
41
 
42
42
  const agent = new ToolLoopAgent({
43
- model: 'anthropic/claude-haiku-4.5',
43
+ model: 'anthropic/claude-haiku-5.5',
44
44
  tools: { memory },
45
45
  });
46
46
 
@@ -92,13 +92,13 @@ const batch = await startBatch({
92
92
  {
93
93
  id: 'capital-france',
94
94
  type: 'text',
95
- model: 'claude-haiku-4-5',
95
+ model: 'claude-haiku-5-5',
96
96
  prompt: 'What is the capital of France?',
97
97
  },
98
98
  {
99
99
  id: 'capital-germany',
100
100
  type: 'text',
101
- model: 'claude-haiku-4-5',
101
+ model: 'claude-haiku-5-5',
102
102
  prompt: 'What is the capital of Germany?',
103
103
  },
104
104
  ],
@@ -80,7 +80,7 @@ export const anthropic = customProvider({
80
80
  languageModels: {
81
81
  opus: gateway('anthropic/claude-opus-5.5'),
82
82
  sonnet: gateway('anthropic/claude-sonnet-5.5'),
83
- haiku: gateway('anthropic/claude-haiku-4.5'),
83
+ haiku: gateway('anthropic/claude-haiku-5.5'),
84
84
  },
85
85
  fallbackProvider: gateway,
86
86
  });
@@ -390,7 +390,7 @@ export const registry = createProviderRegistry(
390
390
  // setup model name aliases
391
391
  anthropic: customProvider({
392
392
  languageModels: {
393
- fast: anthropic('claude-haiku-4-5'),
393
+ fast: anthropic('claude-haiku-5-5'),
394
394
 
395
395
  // simple model
396
396
  writing: anthropic('claude-sonnet-4-5'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai",
3
- "version": "7.0.130",
3
+ "version": "7.0.131",
4
4
  "type": "module",
5
5
  "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.",
6
6
  "license": "Apache-2.0",
@@ -42,20 +42,20 @@
42
42
  }
43
43
  },
44
44
  "dependencies": {
45
- "@ai-sdk/gateway": "4.0.106",
45
+ "@ai-sdk/gateway": "4.0.107",
46
46
  "@ai-sdk/provider": "4.0.24",
47
47
  "@ai-sdk/provider-utils": "5.0.56"
48
48
  },
49
49
  "devDependencies": {
50
- "@ai-sdk/amazon-bedrock": "5.0.108",
50
+ "@ai-sdk/amazon-bedrock": "5.0.109",
51
51
  "@ai-sdk/deepseek": "3.0.61",
52
52
  "@ai-sdk/google": "4.0.90",
53
53
  "@ai-sdk/groq": "4.0.57",
54
54
  "@ai-sdk/huggingface": "2.0.65",
55
55
  "@ai-sdk/moonshotai": "3.0.65",
56
- "@ai-sdk/openai": "4.0.86",
56
+ "@ai-sdk/openai": "4.0.87",
57
57
  "@ai-sdk/test-server": "2.0.4",
58
- "@ai-sdk/xai": "5.0.17",
58
+ "@ai-sdk/xai": "5.0.18",
59
59
  "@edge-runtime/vm": "^5.0.0",
60
60
  "@smithy/eventstream-codec": "^4.3.3",
61
61
  "@smithy/util-utf8": "^4.3.3",