Vercel ai gateway (#10)

* feat: use vercel ai gateway

* fix: correct response handling

* ci: add pipeline
This commit is contained in:
2025-10-11 15:07:54 +02:00
committed by GitHub
parent 99a04d2a3e
commit 017e538396
11 changed files with 1116 additions and 1003 deletions

View File

@@ -16,8 +16,8 @@
"vercel:env": "vercel env pull .env"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.32.1",
"@vercel/analytics": "^1.5.0",
"ai": "^5.0.68",
"axios": "^1.12.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
@@ -29,20 +29,21 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwind-merge": "^2.5.5",
"zod": "^3.23.8"
"zod": "^4.1.8"
},
"devDependencies": {
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@types/json-schema": "^7.0.15",
"@types/node": "^22.10.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"@typescript-eslint/eslint-plugin": "^8.46.0",
"@typescript-eslint/parser": "^8.46.0",
"audit-ci": "^6.6.1",
"autoprefixer": "^10.4.20",
"eslint": "^8",
"eslint-config-next": "^15.0.3",
"eslint-config-next": "^15.5.4",
"eslint-config-prettier": "^9.0.0",
"husky": "^8.0.3",
"lint-staged": "^15.1.0",
@@ -59,5 +60,8 @@
"*.{json,ts,tsx}": [
"prettier --write --ignore-unknown"
]
},
"resolutions": {
"brace-expansion": "^2.0.2"
}
}