forked from 0xWheatyz/SPARC
Make LLM model configurable via MODEL environment variable #384
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?
Problem
llm.pyhardcodesanthropic/claude-3.5-sonnet. Switching models requires a code change and redeploy rather than a simple configuration update.Work
MODELenvironment variable inconfig.py.anthropic/claude-3.5-sonnetwhen the variable is unset to preserve existing behaviour.llm.pyinstead of the hardcoded string.MODELto.env.examplewith a descriptive comment.Acceptance Criteria
MODEL=openai/gpt-4ocausesllm.pyto use that model.MODELpreserves the current default.llm.py.Reference
Roadmap item: P2 Backend — Make LLM model configurable.
Closing as already implemented. Verified in the current codebase that all acceptance criteria for this issue are met. The work was completed in a prior sprint but the issue was not closed.