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 +8 -0
- package/dist/index.js +1 -1
- package/dist/internal/index.js +1 -1
- package/docs/02-foundations/04-tools.mdx +1 -1
- package/docs/03-agents/06-memory.mdx +1 -1
- package/docs/03-ai-sdk-core/42-batch.mdx +2 -2
- package/docs/03-ai-sdk-core/45-provider-management.mdx +2 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
package/dist/internal/index.js
CHANGED
|
@@ -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-
|
|
230
|
+
model: 'anthropic/claude-haiku-5.5',
|
|
231
231
|
prompt: 'When was Vercel Ship AI?',
|
|
232
232
|
tools: {
|
|
233
233
|
webSearch: searchTool,
|
|
@@ -92,13 +92,13 @@ const batch = await startBatch({
|
|
|
92
92
|
{
|
|
93
93
|
id: 'capital-france',
|
|
94
94
|
type: 'text',
|
|
95
|
-
model: 'claude-haiku-
|
|
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-
|
|
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-
|
|
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-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
56
|
+
"@ai-sdk/openai": "4.0.87",
|
|
57
57
|
"@ai-sdk/test-server": "2.0.4",
|
|
58
|
-
"@ai-sdk/xai": "5.0.
|
|
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",
|