feat(ai): added OpenCode Zen provider and updated AI model configurations

- Added OpenCode Zen provider with API key-based authentication supporting multiple AI models.
- Added four new free models via OpenCode provider: glm-4.7-free, kimi-k2.5-free, minimax-m2.1-free, and trinity-large-preview-free.
- Added glm-4.7-flash model via Zai provider.
- Updated pricing and configuration for multiple models across Kimi, MiniMax, OpenRouter, Anthropic, Vercel AI Gateway, and Zai providers.
- Removed google/gemini-2.0-flash-exp:free from OpenRouter and stealth models from Vercel AI Gateway.
This commit is contained in:
can1357
2026-01-31 02:11:23 +01:00
parent 5280292306
commit 1f6c61ac3a
7 changed files with 196 additions and 72 deletions
+2 -1
View File
@@ -32,7 +32,8 @@
"prepublishOnly": "bun run check",
"publish": "bun run prepublishOnly && npm publish -ws --access public",
"publish:dry": "bun run prepublishOnly && npm publish -ws --access public --dry-run",
"release": "bun scripts/release.ts"
"release": "bun scripts/release.ts",
"generate-models": "bun --cwd=packages/ai scripts/generate-models.ts"
},
"devDependencies": {
"@biomejs/biome": "^2.3.13",