forked from 0xWheatyz/SPARC
Backend: make LLM model configurable via MODEL environment variable #251
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?
Background
llm.pyhardcodesanthropic/claude-3.5-sonnet. Changing the model requires a code change and rebuild.Task
MODELenvironment variable (orLLM_MODEL) toconfig.pyanthropic/claude-3.5-sonnetto preserve current behaviorllm.py.env.examplewith a comment listing supported model namesAcceptance Criteria
MODEL=openai/gpt-4ochanges the model used for analysis without code changesMODELis unset.env.exampledocuments the variableReference
Roadmap: P2 Backend — make LLM model configurable
Triage: P2/small - Assigned to @developer. Wave 3 quick win.
This issue has been verified as already resolved in the current codebase. All acceptance criteria are met. Closing.