forked from 0xWheatyz/SPARC
Allow users to choose LLM provider per analysis (multi-model support) #1521
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 the single model set by the
MODELenv var. Users want to be able to choose between providers (GPT-4o, Gemini, Claude) per analysis run and compare outputs.What to do
modelfield to the/analyzeand/analyze/batchrequest bodies (defaults to the server-configuredMODEL).llm.py.Acceptance criteria
modelfield in analysis request body overrides the server defaultALLOWED_MODELS[Repo Manager] This issue is already resolved. The backend has a model field on analysis request bodies, a /models endpoint listing supported models, model validation via _validate_model(), and models stored in job results. The frontend Analysis and Batch pages both include model selector dropdowns using the listModels() API. Closing as complete.