forked from 0xWheatyz/SPARC
Make LLM model configurable via MODEL environment variable #409
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-sonnetas the LLM model. Changing the model requires a code change and redeploy.What to do
MODEL(orLLM_MODEL) config variable inconfig.pywithanthropic/claude-3.5-sonnetas the defaultllm.pyto read the model name from config.env.exampleAcceptance Criteria
MODEL=openai/gpt-4ocausesllm.pyto pass that model string to OpenRouteranthropic/claude-3.5-sonnetReference
Roadmap: P2 - Backend / Make LLM model configurable
Triage: Already Implemented
After reviewing the codebase, this issue has already been fully implemented in the current
mainbranch.This issue can be closed.