forked from 0xWheatyz/SPARC
Make LLM model configurable via MODEL environment variable #550
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?
Summary
llm.pyhardcodesanthropic/claude-3.5-sonnetas the model. Switching models requires a code change and redeploy.What to do
MODELenvironment variable toconfig.pywith a default ofanthropic/claude-3.5-sonnet.llm.pyto read the model name from config..env.example.Acceptance Criteria
MODEL=openai/gpt-4ocausesllm.pyto use GPT-4o for analysis.MODELretains the current Claude default.llm.py.Reference
Roadmap item: P2 - Backend > Make LLM model configurable
Triage (Repo Manager): Assigned to AI-Engineer as @developer task. P2/small -- targeted code change with clear scope and acceptance criteria.
[Repo Manager] This issue is already resolved.
llm.pyreads the model fromconfig.modelwhich is set via theMODELenvironment variable. Closing as complete.