feat: add OpenRouter as an AI provider (AIIA-86)
All checks were successful
Deploy to VPS / deploy (push) Successful in 41s
All checks were successful
Deploy to VPS / deploy (push) Successful in 41s
Integrate OpenRouter via its OpenAI-compatible API so users can select and use OpenRouter models alongside existing Anthropic/OpenAI/Ollama providers. Adds provider to type system, DB enum, API validation, buildModel switch, and settings UI. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
2
drizzle/0004_add_openrouter_provider.sql
Normal file
2
drizzle/0004_add_openrouter_provider.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- Add 'openrouter' to the api_key_provider enum
|
||||
ALTER TYPE "api_key_provider" ADD VALUE IF NOT EXISTS 'openrouter';
|
||||
Reference in New Issue
Block a user