forked from 0xWheatyz/SPARC
Feature: multi-model support allowing users to choose LLM provider per analysis #541
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: P3 Nice to Have -- multi-model support
llm.pycurrently hardcodes the model provider and exposes aMODELenvironment variable (tracked separately in #524). This feature goes further: letting individual users or individual analysis requests choose between LLM providers (e.g., GPT-4o, Gemini, Claude) and compare outputs side by side.Task
modelfield to the analysis request payload (default to the configuredMODELenv var)llm.pyto route requests to the appropriate provider based on the selected modelAcceptance Criteria
modelfieldMODELenv var) is preserved when no model is specifiedNotes
Depends on #524 (make LLM model configurable via env var) being completed first.
See ROADMAP.md P3 section for background.
Verified complete:
config.pyreadsMODELenv var.CompanyAnalysisRequestandBatchAnalysisRequestaccept optionalmodelparameter. Frontend model picker merged in PR #353. Closing as implemented.