feat(llm): add fallbackModel config, remove hardcoded model default

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
root
2026-03-09 15:49:48 +00:00
parent 4c24a016f1
commit c2dbdcf146
5 changed files with 34 additions and 8 deletions
+6 -2
View File
@@ -2,5 +2,9 @@
# LLM features are disabled when this is not set.
OPENROUTER_API_KEY=
# Optional: override the default model
# LLM_MODEL=arcee-ai/trinity-large-preview:free
# Primary model (free tier)
LLM_MODEL=arcee-ai/trinity-large-preview:free
# Fallback model — used automatically when primary hits rate limit (429)
# Costs per-token. Remove or leave empty to disable fallback.
# LLM_FALLBACK_MODEL=openai/gpt-oss-120b