Upgrade AI model
This commit is contained in:
parent
1dd4475ae5
commit
86dd2c6f19
16
package.json
16
package.json
@ -10,21 +10,20 @@
|
||||
},
|
||||
"packageManager": "pnpm@10.22.0",
|
||||
"dependencies": {
|
||||
"@ai-sdk/openai": "^2.0.67",
|
||||
"@ai-sdk/rsc": "^1.0.94",
|
||||
"@aws-sdk/client-s3": "3.932.0",
|
||||
"@aws-sdk/s3-request-presigner": "3.932.0",
|
||||
"@ai-sdk/openai": "^2.0.68",
|
||||
"@ai-sdk/rsc": "^1.0.96",
|
||||
"@aws-sdk/client-s3": "3.934.0",
|
||||
"@aws-sdk/s3-request-presigner": "3.934.0",
|
||||
"@radix-ui/react-dialog": "^1.1.15",
|
||||
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
"@radix-ui/react-visually-hidden": "^1.2.4",
|
||||
"@types/piexifjs": "^1.0.0",
|
||||
"@upstash/ratelimit": "^2.0.7",
|
||||
"@upstash/redis": "^1.35.6",
|
||||
"@vercel/analytics": "^1.5.0",
|
||||
"@vercel/blob": "^2.0.0",
|
||||
"@vercel/speed-insights": "^1.2.0",
|
||||
"ai": "^5.0.93",
|
||||
"ai": "^5.0.95",
|
||||
"camelcase-keys": "^10.0.1",
|
||||
"clsx": "^2.1.1",
|
||||
"cmdk": "^1.1.1",
|
||||
@ -60,7 +59,7 @@
|
||||
"@eslint/eslintrc": "^3.3.1",
|
||||
"@next/bundle-analyzer": "16.0.3",
|
||||
"@next/eslint-plugin-next": "16.0.3",
|
||||
"@stylistic/eslint-plugin": "^5.5.0",
|
||||
"@stylistic/eslint-plugin": "^5.6.1",
|
||||
"@tailwindcss/postcss": "^4.1.17",
|
||||
"@testing-library/dom": "^10.4.1",
|
||||
"@testing-library/jest-dom": "^6.9.1",
|
||||
@ -68,8 +67,9 @@
|
||||
"@types/culori": "^4.0.1",
|
||||
"@types/jest": "^30.0.0",
|
||||
"@types/node": "^24.10.1",
|
||||
"@types/piexifjs": "^1.0.0",
|
||||
"@types/pg": "^8.15.6",
|
||||
"@types/react": "19.2.5",
|
||||
"@types/react": "19.2.6",
|
||||
"@types/react-dom": "19.2.3",
|
||||
"@types/sanitize-html": "^2.16.0",
|
||||
"cross-fetch": "^4.1.0",
|
||||
|
||||
696
pnpm-lock.yaml
generated
696
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -15,7 +15,7 @@ const checkRateLimitAndThrow = (isBatch?: boolean) =>
|
||||
...isBatch && { tokens: 1200, duration: '1d' },
|
||||
});
|
||||
|
||||
const MODEL = 'gpt-4o';
|
||||
const MODEL: Parameters<NonNullable<typeof openai>>[0] = 'gpt-5.1';
|
||||
|
||||
const openai = OPENAI_SECRET_KEY
|
||||
? createOpenAI({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user