feat: add Claude and OpenRouter AI providers

OpenRouter is used when no provider flag is set. Claude is selected with .cl, and GLM stays available via .glm.
This commit is contained in:
Azimkin
2026-10-13 08:56:16 +00:00
parent c6b93c9aa8
commit a84467c385
10 changed files with 712 additions and 20 deletions

View File

@@ -13,6 +13,12 @@ GLM_MODEL=glm-5.3
DEEPSEEK_API_URL=https://api.deepseek.com
DEEPSEEK_API_KEY=your_deepseek_api_key_here
DEEPSEEK_MODEL=deepseek-v4-flash
CLAUDE_API_URL=https://api.anthropic.com
CLAUDE_API_KEY=your_anthropic_api_key_here
CLAUDE_MODEL=claude-haiku-5-5
OPENROUTER_API_URL=https://openrouter.ai/api/v1
OPENROUTER_API_KEY=your_openrouter_api_key_here
OPENROUTER_MODEL=anthropic/claude-haiku-5.5
# AI_MAX_CONTEXT_MESSAGES=100
# AI_PROMPT_DIR=prompts
# AI_MAX_MEDIA_BYTES=5242880