forked from 0xWheatyz/SPARC
Add multi-model support: let users choose LLM provider per analysis #874
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 - Multi-model support
Currently all analyses use a single hardcoded model. Users want to choose between LLM providers (GPT-4o, Gemini, Claude) per analysis and compare outputs.
Work to do
modelfield (defaults to the configured default model from issue #857).llm.pywhen making the API call.modelused alongside the analysis result in the database.Note: This issue depends on #857 (Make LLM model configurable via MODEL environment variable).
Acceptance criteria
Resolved in codebase. SPARC/api.py has GET /models endpoint listing supported models, and all analysis endpoints accept an optional model parameter. LLM calls use the model override throughout. Frontend Batch page has a model selector dropdown. Closing as implemented.