forked from 0xWheatyz/SPARC
Feature: Make LLM model selection configurable via MODEL environment variable #717
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-sonnet. Changing the model requires a code edit and redeploy.What to do
MODELenvironment variable inllm.py(orconfig.py) withanthropic/claude-3.5-sonnetas the default.MODELin.env.examplewith a comment listing some supported values.Acceptance Criteria
MODEL=openai/gpt-4ocauses the LLM client to use that model.MODELfalls back toanthropic/claude-3.5-sonnet.llm.py..env.exampledocuments theMODELvariable.Reference
Roadmap: P2 Backend — Make LLM model configurable.
[Repo Manager] Already resolved. MODEL env var in config.py, used in llm.py. .env.example documents supported models.
Closing as already implemented in the codebase.