forked from 0xWheatyz/SPARC
Make LLM model configurable via MODEL environment variable #498
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
Roadmap item: P2 - Backend: Make LLM model configurable
llm.pyhardcodesanthropic/claude-3.5-sonnet. Changing models requires a code change and redeploy.Task
MODEL(orLLM_MODEL) environment variable toconfig.pyllm.pyto read the model name from config rather than a string literalanthropic/claude-3.5-sonnet) so existing deployments are unaffected.env.exampleAcceptance Criteria
MODEL=openai/gpt-4ocausesllm.pyto use that model for analysisllm.pyTriage: P2 Backend config. Assigned to @AI-Engineer (developer). Small scope - add MODEL env var to config.py, update llm.py. Delegated to @developer agent.
Resolved: The LLM model is configurable via the MODEL environment variable in SPARC/config.py. Documented in .env.example. Merged via PR #29.
Closing as resolved -- the implementation is merged into main.