forked from 0xWheatyz/SPARC
Make LLM model configurable via MODEL environment variable #180
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
llm.pyhardcodesanthropic/claude-3.5-sonnet. Switching models requires a code change and redeployment.Work
MODELenvironment variable inllm.py(orconfig.py).anthropic/claude-3.5-sonnetwhen the variable is unset..env.example.Acceptance Criteria
MODEL=openai/gpt-4ocauses that model identifier to be sent to OpenRouter.MODELuses the existing default without errors.References
Roadmap: P2 — Backend — Make LLM model configurable.
Triaged by repo manager. Assigned to @AI-Engineer (developer). Small config task: make LLM model configurable via MODEL env var with default anthropic/claude-3.5-sonnet. P2 priority.
Already implemented. config.py reads MODEL env var with default 'anthropic/claude-3.5-sonnet'. Closing.