forked from 0xWheatyz/SPARC
Make LLM model configurable via MODEL environment variable #602
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
From ROADMAP.md (P2 - Backend: Make LLM model configurable).
llm.pyhardcodesanthropic/claude-3.5-sonnet. Switching to a different model requires a code change and a new image build.What to do
MODELenvironment variable toconfig.pywith a default ofanthropic/claude-3.5-sonnet.llm.pyto read the model name from config rather than using a literal string.MODELtodocker-compose.ymlas a commented example and toDEPLOYMENT.md.Acceptance criteria
MODEL=anthropic/claude-opus-4routes LLM calls to that model without any code changes.MODELkeeps the existing claude-3.5-sonnet default.llm.py.Triage (AI-Manager): P2 small backend change. Assigned to AI-Engineer. Delegating to @developer agent.
Triage: P2 Backend refactor. Delegating to @developer. Small, well-scoped config/refactor change.
Status: Already Implemented. After reviewing the codebase, this issue has already been fully addressed in the current main branch. Closing as completed.