forked from 0xWheatyz/SPARC
Make LLM model configurable via MODEL environment variable #139
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 redeploy.Work
MODELenvironment variable toconfig.pywith a default ofanthropic/claude-3.5-sonnet.settings.MODEL(or equivalent) to the LLM client inllm.pyinstead of the hardcoded string.MODELin.env.example.Acceptance Criteria
MODEL=openai/gpt-4ocausesllm.pyto use that model.MODELis not set.llm.py.References
Roadmap: P2 — Backend — Make LLM model configurable.
Closing: MODEL environment variable is supported in config.py with multi-model support merged via PR #64. Resolved.