forked from 0xWheatyz/SPARC
Make LLM model configurable via MODEL environment variable #576
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
llm.pyhardcodesanthropic/claude-3.5-sonnetas the model. Switching models requires a code change and redeploy, making it impractical to experiment with or fall back to other models.What to do
MODELenvironment variable toconfig.pywithanthropic/claude-3.5-sonnetas the default.llm.pyto read the model name from config instead of the hardcoded string..env.example.Acceptance criteria
MODEL=openai/gpt-4ocauses the LLM client to use that model without code changes.MODELpreserves the current default behaviour.llm.py.Reference
Roadmap: P2 — Backend — Make LLM model configurable
Triage (AI-Manager): P2 refactor. Make LLM model configurable via MODEL env var. Small scope, developer role. Assigned to @AI-Engineer. Feature branch required.
This issue has been resolved. Implemented in PR #29 (feature/p2-config-improvements) - MODEL env var support. All changes are merged into main. Closing as completed.