feat: use grok-3-mini as reasoning model (#922)
This commit is contained in:
parent
790534556a
commit
dfda9118d9
6 changed files with 59 additions and 72 deletions
|
|
@ -7,9 +7,6 @@ AUTH_SECRET=****
|
||||||
# Get your xAI API Key here for chat and image models: https://console.x.ai/
|
# Get your xAI API Key here for chat and image models: https://console.x.ai/
|
||||||
XAI_API_KEY=****
|
XAI_API_KEY=****
|
||||||
|
|
||||||
# Get your Groq API Key here for reasoning models: https://console.groq.com/keys
|
|
||||||
GROQ_API_KEY=****
|
|
||||||
|
|
||||||
# Instructions to create a Vercel Blob Store here: https://vercel.com/docs/storage/vercel-blob
|
# Instructions to create a Vercel Blob Store here: https://vercel.com/docs/storage/vercel-blob
|
||||||
BLOB_READ_WRITE_TOKEN=****
|
BLOB_READ_WRITE_TOKEN=****
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ This template ships with [xAI](https://x.ai) `grok-2-1212` as the default chat m
|
||||||
|
|
||||||
You can deploy your own version of the Next.js AI Chatbot to Vercel with one click:
|
You can deploy your own version of the Next.js AI Chatbot to Vercel with one click:
|
||||||
|
|
||||||
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fai-chatbot&env=AUTH_SECRET&envDescription=Generate%20a%20random%20secret%20to%20use%20for%20authentication&envLink=https%3A%2F%2Fgenerate-secret.vercel.app%2F32&project-name=my-awesome-chatbot&repository-name=my-awesome-chatbot&demo-title=AI%20Chatbot&demo-description=An%20Open-Source%20AI%20Chatbot%20Template%20Built%20With%20Next.js%20and%20the%20AI%20SDK%20by%20Vercel&demo-url=https%3A%2F%2Fchat.vercel.ai&products=%5B%7B%22type%22%3A%22integration%22%2C%22protocol%22%3A%22ai%22%2C%22productSlug%22%3A%22grok%22%2C%22integrationSlug%22%3A%22xai%22%7D%2C%7B%22type%22%3A%22integration%22%2C%22protocol%22%3A%22ai%22%2C%22productSlug%22%3A%22api-key%22%2C%22integrationSlug%22%3A%22groq%22%7D%2C%7B%22type%22%3A%22integration%22%2C%22protocol%22%3A%22storage%22%2C%22productSlug%22%3A%22neon%22%2C%22integrationSlug%22%3A%22neon%22%7D%2C%7B%22type%22%3A%22blob%22%7D%5D)
|
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fai-chatbot&env=AUTH_SECRET&envDescription=Generate%20a%20random%20secret%20to%20use%20for%20authentication&envLink=https%3A%2F%2Fgenerate-secret.vercel.app%2F32&project-name=my-awesome-chatbot&repository-name=my-awesome-chatbot&demo-title=AI%20Chatbot&demo-description=An%20Open-Source%20AI%20Chatbot%20Template%20Built%20With%20Next.js%20and%20the%20AI%20SDK%20by%20Vercel&demo-url=https%3A%2F%2Fchat.vercel.ai&products=%5B%7B%22type%22%3A%22integration%22%2C%22protocol%22%3A%22ai%22%2C%22productSlug%22%3A%22grok%22%2C%22integrationSlug%22%3A%22xai%22%7D%2C%7B%22type%22%3A%22integration%22%2C%22protocol%22%3A%22storage%22%2C%22productSlug%22%3A%22neon%22%2C%22integrationSlug%22%3A%22neon%22%7D%2C%7B%22type%22%3A%22blob%22%7D%5D)
|
||||||
|
|
||||||
## Running locally
|
## Running locally
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,7 @@ function PureChatHeader({
|
||||||
asChild
|
asChild
|
||||||
>
|
>
|
||||||
<Link
|
<Link
|
||||||
href={`https://vercel.com/new/clone?repository-url=https://github.com/vercel/ai-chatbot&env=AUTH_SECRET&envDescription=Learn more about how to get the API Keys for the application&envLink=https://github.com/vercel/ai-chatbot/blob/main/.env.example&demo-title=AI Chatbot&demo-description=An Open-Source AI Chatbot Template Built With Next.js and the AI SDK by Vercel.&demo-url=https://chat.vercel.ai&products=[{"type":"integration","protocol":"ai","productSlug":"grok","integrationSlug":"xai"},{"type":"integration","protocol":"ai","productSlug":"api-key","integrationSlug":"groq"},{"type":"integration","protocol":"storage","productSlug":"neon","integrationSlug":"neon"},{"type":"blob"}]`}
|
href={`https://vercel.com/new/clone?repository-url=https://github.com/vercel/ai-chatbot&env=AUTH_SECRET&envDescription=Learn more about how to get the API Keys for the application&envLink=https://github.com/vercel/ai-chatbot/blob/main/.env.example&demo-title=AI Chatbot&demo-description=An Open-Source AI Chatbot Template Built With Next.js and the AI SDK by Vercel.&demo-url=https://chat.vercel.ai&products=[{"type":"integration","protocol":"ai","productSlug":"grok","integrationSlug":"xai"},{"type":"integration","protocol":"storage","productSlug":"neon","integrationSlug":"neon"},{"type":"blob"}]`}
|
||||||
target="_noblank"
|
target="_noblank"
|
||||||
>
|
>
|
||||||
<VercelIcon size={16} />
|
<VercelIcon size={16} />
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@ import {
|
||||||
extractReasoningMiddleware,
|
extractReasoningMiddleware,
|
||||||
wrapLanguageModel,
|
wrapLanguageModel,
|
||||||
} from 'ai';
|
} from 'ai';
|
||||||
import { groq } from '@ai-sdk/groq';
|
|
||||||
import { xai } from '@ai-sdk/xai';
|
import { xai } from '@ai-sdk/xai';
|
||||||
import { isTestEnvironment } from '../constants';
|
import { isTestEnvironment } from '../constants';
|
||||||
import {
|
import {
|
||||||
|
|
@ -26,7 +25,7 @@ export const myProvider = isTestEnvironment
|
||||||
languageModels: {
|
languageModels: {
|
||||||
'chat-model': xai('grok-2-1212'),
|
'chat-model': xai('grok-2-1212'),
|
||||||
'chat-model-reasoning': wrapLanguageModel({
|
'chat-model-reasoning': wrapLanguageModel({
|
||||||
model: groq('deepseek-r1-distill-llama-70b'),
|
model: xai('grok-3-mini-beta'),
|
||||||
middleware: extractReasoningMiddleware({ tagName: 'think' }),
|
middleware: extractReasoningMiddleware({ tagName: 'think' }),
|
||||||
}),
|
}),
|
||||||
'title-model': xai('grok-2-1212'),
|
'title-model': xai('grok-2-1212'),
|
||||||
|
|
|
||||||
|
|
@ -19,9 +19,8 @@
|
||||||
"test": "export PLAYWRIGHT=True && pnpm exec playwright test --workers=4"
|
"test": "export PLAYWRIGHT=True && pnpm exec playwright test --workers=4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ai-sdk/groq": "^1.2.3",
|
"@ai-sdk/react": "^1.2.8",
|
||||||
"@ai-sdk/react": "^1.2.5",
|
"@ai-sdk/xai": "^1.2.10",
|
||||||
"@ai-sdk/xai": "^1.2.6",
|
|
||||||
"@codemirror/lang-javascript": "^6.2.2",
|
"@codemirror/lang-javascript": "^6.2.2",
|
||||||
"@codemirror/lang-python": "^6.1.6",
|
"@codemirror/lang-python": "^6.1.6",
|
||||||
"@codemirror/state": "^6.5.0",
|
"@codemirror/state": "^6.5.0",
|
||||||
|
|
@ -40,7 +39,7 @@
|
||||||
"@vercel/analytics": "^1.3.1",
|
"@vercel/analytics": "^1.3.1",
|
||||||
"@vercel/blob": "^0.24.1",
|
"@vercel/blob": "^0.24.1",
|
||||||
"@vercel/postgres": "^0.10.0",
|
"@vercel/postgres": "^0.10.0",
|
||||||
"ai": "4.2.10",
|
"ai": "4.3.4",
|
||||||
"bcrypt-ts": "^5.0.2",
|
"bcrypt-ts": "^5.0.2",
|
||||||
"class-variance-authority": "^0.7.0",
|
"class-variance-authority": "^0.7.0",
|
||||||
"classnames": "^2.5.1",
|
"classnames": "^2.5.1",
|
||||||
|
|
|
||||||
114
pnpm-lock.yaml
generated
114
pnpm-lock.yaml
generated
|
|
@ -8,15 +8,12 @@ importers:
|
||||||
|
|
||||||
.:
|
.:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@ai-sdk/groq':
|
|
||||||
specifier: ^1.2.3
|
|
||||||
version: 1.2.3(zod@3.24.2)
|
|
||||||
'@ai-sdk/react':
|
'@ai-sdk/react':
|
||||||
specifier: ^1.2.5
|
specifier: ^1.2.8
|
||||||
version: 1.2.5(react@19.0.0-rc-45804af1-20241021)(zod@3.24.2)
|
version: 1.2.8(react@19.0.0-rc-45804af1-20241021)(zod@3.24.2)
|
||||||
'@ai-sdk/xai':
|
'@ai-sdk/xai':
|
||||||
specifier: ^1.2.6
|
specifier: ^1.2.10
|
||||||
version: 1.2.6(zod@3.24.2)
|
version: 1.2.10(zod@3.24.2)
|
||||||
'@codemirror/lang-javascript':
|
'@codemirror/lang-javascript':
|
||||||
specifier: ^6.2.2
|
specifier: ^6.2.2
|
||||||
version: 6.2.3
|
version: 6.2.3
|
||||||
|
|
@ -72,8 +69,8 @@ importers:
|
||||||
specifier: ^0.10.0
|
specifier: ^0.10.0
|
||||||
version: 0.10.0
|
version: 0.10.0
|
||||||
ai:
|
ai:
|
||||||
specifier: 4.2.10
|
specifier: 4.3.4
|
||||||
version: 4.2.10(react@19.0.0-rc-45804af1-20241021)(zod@3.24.2)
|
version: 4.3.4(react@19.0.0-rc-45804af1-20241021)(zod@3.24.2)
|
||||||
bcrypt-ts:
|
bcrypt-ts:
|
||||||
specifier: ^5.0.2
|
specifier: ^5.0.2
|
||||||
version: 5.0.3
|
version: 5.0.3
|
||||||
|
|
@ -258,30 +255,24 @@ importers:
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
|
||||||
'@ai-sdk/groq@1.2.3':
|
'@ai-sdk/openai-compatible@0.2.8':
|
||||||
resolution: {integrity: sha512-MGPo+ROdJfavrkI4SgJSUOtT6cFjEZEyu7sKKI1PWE3FBTp0oYxSfsmAFWebXGI1G+v70XPFiH9IObBYUiEMvQ==}
|
resolution: {integrity: sha512-o1CrhTrXnMj72G44oBqlDDBtunw6iwONysXj7EYN/Fx27rhP7YTcWwVeKs5gMx/u/8TIho9iZ9rkqXXc2xg8Bg==}
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
zod: ^3.0.0
|
zod: ^3.0.0
|
||||||
|
|
||||||
'@ai-sdk/openai-compatible@0.2.5':
|
'@ai-sdk/provider-utils@2.2.6':
|
||||||
resolution: {integrity: sha512-Mi83WLIbrmcrQ5b4LQSl8DSs/QHLGTtRu+5+Kb+4lzxCHAGiqzgEGrFww3S6bl+GVfhGtyTCONqU1Nok2r+k5Q==}
|
resolution: {integrity: sha512-sUlZ7Gnq84DCGWMQRIK8XVbkzIBnvPR1diV4v6JwPgpn5armnLI/j+rqn62MpLrU5ZCQZlDKl/Lw6ed3ulYqaA==}
|
||||||
engines: {node: '>=18'}
|
|
||||||
peerDependencies:
|
|
||||||
zod: ^3.0.0
|
|
||||||
|
|
||||||
'@ai-sdk/provider-utils@2.2.3':
|
|
||||||
resolution: {integrity: sha512-o3fWTzkxzI5Af7U7y794MZkYNEsxbjLam2nxyoUZSScqkacb7vZ3EYHLh21+xCcSSzEC161C7pZAGHtC0hTUMw==}
|
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
zod: ^3.23.8
|
zod: ^3.23.8
|
||||||
|
|
||||||
'@ai-sdk/provider@1.1.0':
|
'@ai-sdk/provider@1.1.2':
|
||||||
resolution: {integrity: sha512-0M+qjp+clUD0R1E5eWQFhxEvWLNaOtGQRUaBn8CUABnSKredagq92hUS9VjOzGsTm37xLfpaxl97AVtbeOsHew==}
|
resolution: {integrity: sha512-ITdgNilJZwLKR7X5TnUr1BsQW6UTX5yFp0h66Nfx8XjBYkWD9W3yugr50GOz3CnE9m/U/Cd5OyEbTMI0rgi6ZQ==}
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
|
|
||||||
'@ai-sdk/react@1.2.5':
|
'@ai-sdk/react@1.2.8':
|
||||||
resolution: {integrity: sha512-0jOop3S2WkDOdO4X5I+5fTGqZlNX8/h1T1eYokpkR9xh8Vmrxqw8SsovqGvrddTsZykH8uXRsvI+G4FTyy894A==}
|
resolution: {integrity: sha512-S2FzCSi4uTF0JuSN6zYMXyiAWVAzi/Hho8ISYgHpGZiICYLNCP2si4DuXQOsnWef3IXzQPLVoE11C63lILZIkw==}
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: ^18 || ^19 || ^19.0.0-rc
|
react: ^18 || ^19 || ^19.0.0-rc
|
||||||
|
|
@ -290,14 +281,14 @@ packages:
|
||||||
zod:
|
zod:
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@ai-sdk/ui-utils@1.2.4':
|
'@ai-sdk/ui-utils@1.2.7':
|
||||||
resolution: {integrity: sha512-wLTxEZrKZRyBmlVZv8nGXgLBg5tASlqXwbuhoDu0MhZa467ZFREEnosH/OC/novyEHTQXko2zC606xoVbMrUcA==}
|
resolution: {integrity: sha512-OVRxa4SDj0wVsMZ8tGr/whT89oqNtNoXBKmqWC2BRv5ZG6azL2LYZ5ZK35u3lb4l1IE7cWGsLlmq0py0ttsL7A==}
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
zod: ^3.23.8
|
zod: ^3.23.8
|
||||||
|
|
||||||
'@ai-sdk/xai@1.2.6':
|
'@ai-sdk/xai@1.2.10':
|
||||||
resolution: {integrity: sha512-I5D1uH8kCAx+SDsYdkNQETWMOLMoNGE4BUSqV2qzxnc3+/0RHa0W5pkhyGAgArs+3GDWA3UyRO5OFFdTTCNeVg==}
|
resolution: {integrity: sha512-jPaOq7HHJ9A7FF3i/zngcUd6jczFMJF1x9Ayle4IxCZ2gIhtLgv0hiUb1X95keh/gCHjtelBQdzLFNNuiPBadQ==}
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
zod: ^3.0.0
|
zod: ^3.0.0
|
||||||
|
|
@ -1652,8 +1643,8 @@ packages:
|
||||||
engines: {node: '>=0.4.0'}
|
engines: {node: '>=0.4.0'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
ai@4.2.10:
|
ai@4.3.4:
|
||||||
resolution: {integrity: sha512-rOfKbNRWlzwxbFll6W9oAdnC0R5VVbAJoof+p92CatHzA3reqQZmYn33IBnj+CgqeXYUsH9KX9Wnj7g2wCHc9Q==}
|
resolution: {integrity: sha512-uMjzrowIqfU8CCCxhx8QGl7ETydHBROeNL0VoEwetkmDCY6Q8ZTacj6jNNqGJOiCk595aUrGR9VHPY9Ylvy1fg==}
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: ^18 || ^19 || ^19.0.0-rc
|
react: ^18 || ^19 || ^19.0.0-rc
|
||||||
|
|
@ -2939,6 +2930,11 @@ packages:
|
||||||
mz@2.7.0:
|
mz@2.7.0:
|
||||||
resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==}
|
resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==}
|
||||||
|
|
||||||
|
nanoid@3.3.11:
|
||||||
|
resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==}
|
||||||
|
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
|
||||||
|
hasBin: true
|
||||||
|
|
||||||
nanoid@3.3.9:
|
nanoid@3.3.9:
|
||||||
resolution: {integrity: sha512-SppoicMGpZvbF1l3z4x7No3OlIjP7QJvC9XR7AhZr1kL133KHnKPztkKDc+Ir4aJ/1VhTySrtKhrsycmrMQfvg==}
|
resolution: {integrity: sha512-SppoicMGpZvbF1l3z4x7No3OlIjP7QJvC9XR7AhZr1kL133KHnKPztkKDc+Ir4aJ/1VhTySrtKhrsycmrMQfvg==}
|
||||||
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
|
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
|
||||||
|
|
@ -3849,8 +3845,8 @@ packages:
|
||||||
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
|
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
|
|
||||||
zod-to-json-schema@3.24.3:
|
zod-to-json-schema@3.24.5:
|
||||||
resolution: {integrity: sha512-HIAfWdYIt1sssHfYZFCXp4rU1w2r8hVVXYIlmoa0r0gABLs5di3RCqPU5DDROogVz1pAdYBaz7HK5n9pSUNs3A==}
|
resolution: {integrity: sha512-/AuWwMP+YqiPbsJx5D6TfgRTc4kTLjsh5SOcd4bLsfUg2RcEXrFMJl1DGgdHy2aCfsIA/cr/1JM0xcB2GZji8g==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
zod: ^3.24.1
|
zod: ^3.24.1
|
||||||
|
|
||||||
|
|
@ -3862,51 +3858,45 @@ packages:
|
||||||
|
|
||||||
snapshots:
|
snapshots:
|
||||||
|
|
||||||
'@ai-sdk/groq@1.2.3(zod@3.24.2)':
|
'@ai-sdk/openai-compatible@0.2.8(zod@3.24.2)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@ai-sdk/provider': 1.1.0
|
'@ai-sdk/provider': 1.1.2
|
||||||
'@ai-sdk/provider-utils': 2.2.3(zod@3.24.2)
|
'@ai-sdk/provider-utils': 2.2.6(zod@3.24.2)
|
||||||
zod: 3.24.2
|
zod: 3.24.2
|
||||||
|
|
||||||
'@ai-sdk/openai-compatible@0.2.5(zod@3.24.2)':
|
'@ai-sdk/provider-utils@2.2.6(zod@3.24.2)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@ai-sdk/provider': 1.1.0
|
'@ai-sdk/provider': 1.1.2
|
||||||
'@ai-sdk/provider-utils': 2.2.3(zod@3.24.2)
|
nanoid: 3.3.11
|
||||||
zod: 3.24.2
|
|
||||||
|
|
||||||
'@ai-sdk/provider-utils@2.2.3(zod@3.24.2)':
|
|
||||||
dependencies:
|
|
||||||
'@ai-sdk/provider': 1.1.0
|
|
||||||
nanoid: 3.3.9
|
|
||||||
secure-json-parse: 2.7.0
|
secure-json-parse: 2.7.0
|
||||||
zod: 3.24.2
|
zod: 3.24.2
|
||||||
|
|
||||||
'@ai-sdk/provider@1.1.0':
|
'@ai-sdk/provider@1.1.2':
|
||||||
dependencies:
|
dependencies:
|
||||||
json-schema: 0.4.0
|
json-schema: 0.4.0
|
||||||
|
|
||||||
'@ai-sdk/react@1.2.5(react@19.0.0-rc-45804af1-20241021)(zod@3.24.2)':
|
'@ai-sdk/react@1.2.8(react@19.0.0-rc-45804af1-20241021)(zod@3.24.2)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@ai-sdk/provider-utils': 2.2.3(zod@3.24.2)
|
'@ai-sdk/provider-utils': 2.2.6(zod@3.24.2)
|
||||||
'@ai-sdk/ui-utils': 1.2.4(zod@3.24.2)
|
'@ai-sdk/ui-utils': 1.2.7(zod@3.24.2)
|
||||||
react: 19.0.0-rc-45804af1-20241021
|
react: 19.0.0-rc-45804af1-20241021
|
||||||
swr: 2.3.3(react@19.0.0-rc-45804af1-20241021)
|
swr: 2.3.3(react@19.0.0-rc-45804af1-20241021)
|
||||||
throttleit: 2.1.0
|
throttleit: 2.1.0
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
zod: 3.24.2
|
zod: 3.24.2
|
||||||
|
|
||||||
'@ai-sdk/ui-utils@1.2.4(zod@3.24.2)':
|
'@ai-sdk/ui-utils@1.2.7(zod@3.24.2)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@ai-sdk/provider': 1.1.0
|
'@ai-sdk/provider': 1.1.2
|
||||||
'@ai-sdk/provider-utils': 2.2.3(zod@3.24.2)
|
'@ai-sdk/provider-utils': 2.2.6(zod@3.24.2)
|
||||||
zod: 3.24.2
|
zod: 3.24.2
|
||||||
zod-to-json-schema: 3.24.3(zod@3.24.2)
|
zod-to-json-schema: 3.24.5(zod@3.24.2)
|
||||||
|
|
||||||
'@ai-sdk/xai@1.2.6(zod@3.24.2)':
|
'@ai-sdk/xai@1.2.10(zod@3.24.2)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@ai-sdk/openai-compatible': 0.2.5(zod@3.24.2)
|
'@ai-sdk/openai-compatible': 0.2.8(zod@3.24.2)
|
||||||
'@ai-sdk/provider': 1.1.0
|
'@ai-sdk/provider': 1.1.2
|
||||||
'@ai-sdk/provider-utils': 2.2.3(zod@3.24.2)
|
'@ai-sdk/provider-utils': 2.2.6(zod@3.24.2)
|
||||||
zod: 3.24.2
|
zod: 3.24.2
|
||||||
|
|
||||||
'@alloc/quick-lru@5.2.0': {}
|
'@alloc/quick-lru@5.2.0': {}
|
||||||
|
|
@ -5005,12 +4995,12 @@ snapshots:
|
||||||
|
|
||||||
acorn@8.14.1: {}
|
acorn@8.14.1: {}
|
||||||
|
|
||||||
ai@4.2.10(react@19.0.0-rc-45804af1-20241021)(zod@3.24.2):
|
ai@4.3.4(react@19.0.0-rc-45804af1-20241021)(zod@3.24.2):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@ai-sdk/provider': 1.1.0
|
'@ai-sdk/provider': 1.1.2
|
||||||
'@ai-sdk/provider-utils': 2.2.3(zod@3.24.2)
|
'@ai-sdk/provider-utils': 2.2.6(zod@3.24.2)
|
||||||
'@ai-sdk/react': 1.2.5(react@19.0.0-rc-45804af1-20241021)(zod@3.24.2)
|
'@ai-sdk/react': 1.2.8(react@19.0.0-rc-45804af1-20241021)(zod@3.24.2)
|
||||||
'@ai-sdk/ui-utils': 1.2.4(zod@3.24.2)
|
'@ai-sdk/ui-utils': 1.2.7(zod@3.24.2)
|
||||||
'@opentelemetry/api': 1.9.0
|
'@opentelemetry/api': 1.9.0
|
||||||
jsondiffpatch: 0.6.0
|
jsondiffpatch: 0.6.0
|
||||||
zod: 3.24.2
|
zod: 3.24.2
|
||||||
|
|
@ -6675,6 +6665,8 @@ snapshots:
|
||||||
object-assign: 4.1.1
|
object-assign: 4.1.1
|
||||||
thenify-all: 1.6.0
|
thenify-all: 1.6.0
|
||||||
|
|
||||||
|
nanoid@3.3.11: {}
|
||||||
|
|
||||||
nanoid@3.3.9: {}
|
nanoid@3.3.9: {}
|
||||||
|
|
||||||
nanoid@5.1.3: {}
|
nanoid@5.1.3: {}
|
||||||
|
|
@ -7742,7 +7734,7 @@ snapshots:
|
||||||
|
|
||||||
yocto-queue@0.1.0: {}
|
yocto-queue@0.1.0: {}
|
||||||
|
|
||||||
zod-to-json-schema@3.24.3(zod@3.24.2):
|
zod-to-json-schema@3.24.5(zod@3.24.2):
|
||||||
dependencies:
|
dependencies:
|
||||||
zod: 3.24.2
|
zod: 3.24.2
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue