Upgrade to AI sdk with codemod (#1000)
正在显示
差异被折叠。
| ... | ... | @@ -84,17 +84,18 @@ |
| "vitest": "^3.1.1" | ||
| }, | ||
| "dependencies": { | ||
| "@ai-sdk/anthropic": "^1.2.8", | ||
| "@ai-sdk/google": "^1.2.19", | ||
| "@ai-sdk/openai": "^1.3.24", | ||
| "@ai-sdk/openai-compatible": "^0.2.13", | ||
| "@ai-sdk/anthropic": "^2.0.4", | ||
| "@ai-sdk/google": "^2.0.6", | ||
| "@ai-sdk/openai": "^2.0.15", | ||
| "@ai-sdk/openai-compatible": "^1.0.8", | ||
| "@ai-sdk/provider-utils": "^3.0.3", | ||
| "@biomejs/biome": "^1.9.4", | ||
| "@dyad-sh/supabase-management-js": "v1.0.0", | ||
| "@lexical/react": "^0.33.1", | ||
| "@monaco-editor/react": "^4.7.0-rc.0", | ||
| "@neondatabase/api-client": "^2.1.0", | ||
| "@neondatabase/serverless": "^1.0.1", | ||
| "@openrouter/ai-sdk-provider": "^0.4.5", | ||
| "@openrouter/ai-sdk-provider": "^1.1.2", | ||
| "@radix-ui/react-accordion": "^1.2.4", | ||
| "@radix-ui/react-alert-dialog": "^1.1.13", | ||
| "@radix-ui/react-checkbox": "^1.3.2", | ||
| ... | ... | @@ -118,7 +119,7 @@ |
| "@types/uuid": "^10.0.0", | ||
| "@vercel/sdk": "^1.10.0", | ||
| "@vitejs/plugin-react": "^4.3.4", | ||
| "ai": "^4.3.4", | ||
| "ai": "^5.0.15", | ||
| "better-sqlite3": "^11.9.1", | ||
| "class-variance-authority": "^0.7.1", | ||
| "clsx": "^2.1.1", | ||
| ... | ... | @@ -140,7 +141,6 @@ |
| "lexical-beautiful-mentions": "^0.1.47", | ||
| "lucide-react": "^0.487.0", | ||
| "monaco-editor": "^0.52.2", | ||
| "ollama-ai-provider": "^1.2.0", | ||
| "openai": "^4.91.1", | ||
| "posthog-js": "^1.236.3", | ||
| "react": "^19.0.0", | ||
| ... | ... | @@ -158,7 +158,8 @@ |
| "tree-kill": "^1.2.2", | ||
| "tw-animate-css": "^1.2.5", | ||
| "update-electron-app": "^3.1.1", | ||
| "uuid": "^11.1.0" | ||
| "uuid": "^11.1.0", | ||
| "zod": "^3.25.76" | ||
| }, | ||
| "lint-staged": { | ||
| "**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,astro,svelte}": "oxlint", | ||
| ... | ... |
src/ipc/utils/ollama_provider.ts
0 → 100644
请
注册
或者
登录
后发表评论