ai 7.0.62 → 7.0.63
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 +9 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/internal/index.js +1 -1
- package/docs/02-foundations/02-providers-and-models.mdx +1 -0
- package/docs/07-reference/01-ai-sdk-core/31-ui-message.mdx +4 -0
- package/package.json +2 -2
- package/src/types/provider.ts +1 -1
- package/src/ui/process-ui-message-stream.ts +1 -0
- package/src/ui/ui-messages.ts +5 -0
- package/src/ui/validate-ui-messages.ts +1 -0
package/dist/internal/index.js
CHANGED
|
@@ -116,6 +116,7 @@ Here are the capabilities of popular models:
|
|
|
116
116
|
|
|
117
117
|
| Provider | Model | Image Input | Object Generation | Tool Usage | Tool Streaming |
|
|
118
118
|
| -------------------------------------------------- | ------------------------------------------- | ----------- | ----------------- | ---------- | -------------- |
|
|
119
|
+
| [xAI Grok](/providers/ai-sdk-providers/xai) | `grok-4.6` | <Check /> | <Check /> | <Check /> | <Check /> |
|
|
119
120
|
| [xAI Grok](/providers/ai-sdk-providers/xai) | `grok-4.5` | <Check /> | <Check /> | <Check /> | <Check /> |
|
|
120
121
|
| [xAI Grok](/providers/ai-sdk-providers/xai) | `grok-4` | <Cross /> | <Check /> | <Check /> | <Check /> |
|
|
121
122
|
| [xAI Grok](/providers/ai-sdk-providers/xai) | `grok-3` | <Cross /> | <Check /> | <Check /> | <Check /> |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.63",
|
|
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,7 +42,7 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@ai-sdk/gateway": "4.0.
|
|
45
|
+
"@ai-sdk/gateway": "4.0.50",
|
|
46
46
|
"@ai-sdk/provider": "4.0.7",
|
|
47
47
|
"@ai-sdk/provider-utils": "5.0.27"
|
|
48
48
|
},
|
package/src/types/provider.ts
CHANGED
|
@@ -484,6 +484,7 @@ export function processUIMessageStream<UI_MESSAGE extends UIMessage>({
|
|
|
484
484
|
case 'reasoning-start': {
|
|
485
485
|
const reasoningPart: ReasoningUIPart = {
|
|
486
486
|
type: 'reasoning',
|
|
487
|
+
id: chunk.id,
|
|
487
488
|
text: '',
|
|
488
489
|
providerMetadata: chunk.providerMetadata,
|
|
489
490
|
state: 'streaming',
|
package/src/ui/ui-messages.ts
CHANGED