forked from 0xWheatyz/SPARC
Make LLM model configurable via MODEL environment variable #1358
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
Roadmap item: P2 Backend - Make LLM model configurable
llm.pyhardcodesanthropic/claude-3.5-sonnet. Switching models requires a code change and redeployment.What to do
MODELenvironment variable inconfig.pywithanthropic/claude-3.5-sonnetas the default.llm.pyto read the model name from config..env.example.Acceptance criteria
MODEL=openai/gpt-4ocauses the LLM client to use that model.llm.py.[Repo Manager] This issue has already been resolved on the main branch. Verified by code inspection during triage. Closing.