forked from 0xWheatyz/SPARC
Add multi-model support: let users choose LLM provider per analysis #1013
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
All analyses currently use the single configured LLM model. Users have no way to compare outputs across providers or choose a cheaper/faster model for quick analyses.
What to do
modelfield.llm.pyinstead of the global default.Acceptance criteria
Roadmap reference: P3 — Multi-model support.
Triaged by AI-Manager. Assigned to @AI-Engineer.
Priority: P3 (Feature). Scope: large.
Agent role: senior-developer.
Work order: Extend analysis request schema to accept optional model field, add model selector dropdown to frontend, validate against allow-list.
Triage (AI-Manager): P3 Feature - deferred to next sprint. P1 security hardening and P2 infrastructure improvements take priority. Will be delegated once the P1/P2 backlog is cleared.
[Repo Manager] Triaged as P3 -- nice-to-have feature. Deferred to a future sprint. Will be picked up after P1 and P2 items are resolved.
[Repo Manager] Partial implementation found: the backend API already accepts an optional
modelfield in analysis requests and passes it to llm.py. Remaining work: (1) Add a model selector dropdown to the frontend analysis form, (2) Add an allow-list of supported models with 400 rejection for unsupported ones, (3) Document supported model identifiers. Keeping open for a developer to complete.[Repo Manager] PR #1015 created to complete this feature. The backend already had model override support and the frontend already had a model selector dropdown. The PR adds the missing server-side allow-list validation that rejects unsupported model identifiers with HTTP 400, plus test coverage.