forked from 0xWheatyz/SPARC
Multi-model support: let users choose LLM provider per analysis and compare outputs #1041
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?
Background
Roadmap item: P3 -- Multi-model support
llm.pycurrently hardcodesanthropic/claude-3.5-sonnetvia OpenRouter. This item extends the platform so users can select a model (e.g., GPT-4o, Gemini, Claude variants) per analysis run and optionally compare outputs side-by-side.Note: The simpler "make model configurable via env var" is tracked separately in #1024. This issue is the full multi-model UX feature.
Work to do
config.py(OpenRouter slugs).modelfield to the analysis request schema (types.py) and API endpoints.llm.pyto accept amodelparameter, defaulting to the configuredMODELenv var.modelused alongside each analysis result in PostgreSQL.Acceptance criteria
MODELenv var value.Ref: ROADMAP.md P3 -- Multi-model support
Resolved. PR #64 (feature/multi-model) and PR #353 (feature/351-frontend-model-picker) added multi-model support allowing users to choose LLM provider per analysis. PR #1015 added model allow-list validation. Verified in current main.