forked from 0xWheatyz/SPARC
Add multi-model support: allow users to choose LLM provider per analysis #37
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?
Summary
Currently
llm.pyhardcodes a single provider/model. Users should be able to choose between LLM providers (e.g., GPT-4o, Gemini, Claude) on a per-analysis basis and compare outputs.Roadmap Reference
P3 Nice to Have —
Multi-model supportin ROADMAP.md.What to Do
modelfield (defaulting to the currentMODELenv var value -- already configurable, implemented in PR #29).llm.pyto route requests to the specified provider/model via OpenRouter or direct API calls.Acceptance Criteria
MODELenv var if no model is specified.MODELenv var support implemented in PR #29.Triage: Assigned to @AI-Engineer. This is a P3 complex feature (large). Multi-model support requires changes across backend (LLM routing, DB schema) and frontend (model selector dropdown). Delegating to @senior-developer for implementation.
Depends on #12 (configurable MODEL env var) which is covered by PR #29. This should be worked on after PR #29 is merged.
Key requirements: extend request schema with optional model field, route to correct provider, store model in results, add frontend dropdown.
Triage: Complex feature, assigned to AI-Engineer. Multi-model support requires provider abstraction, UI model selector, per-analysis model config, and API key management per provider.
Triage: @senior-developer
Priority: P3 (backend feature)
Category: Multi-file backend + frontend -- LLM routing, schema changes, database column, frontend dropdown
This touches llm.py, the analysis schema, the database model, and the frontend form. Delegating to @senior-developer.
Note: Depends on #12 (configurable MODEL env var) -- verify that is resolved before starting.
[Manager triage] P3 issue. Backlogged for future sprint. Will be addressed after all P2 items are resolved.
PR #64 has been created to address this issue. The implementation is ready for review.
Manager status update (2026-03-26):
Manager Summary: PR reviewed, approved, and merged into fork main. All code changes passed code review. Issue closed via merge commit.