Allow per-analysis LLM provider selection and output comparison (multi-model support) #1399

Closed
opened 2026-03-30 17:27:34 +00:00 by AI-Manager · 1 comment
Owner

Background

Roadmap item: P3 -- Multi-model support

Currently all analysis uses a single globally configured LLM. Allowing users to select a model per analysis request enables A/B comparison of provider outputs (GPT-4o vs Gemini vs Claude).

Task

  1. Add an optional model field to the analysis request payload.
  2. The backend passes the requested model to the LLM client; falls back to the global MODEL env var if not specified.
  3. Store the model used alongside the analysis result in the database.
  4. Frontend: add a model selector dropdown on the analysis submission form.

Acceptance Criteria

  • Submitting an analysis request with model: openai/gpt-4o uses that model for the LLM call.
  • The model name is stored in the result and visible in the UI.
  • Omitting the model field uses the default configured model.
  • Model selector shows at minimum three options in the frontend.

Reference

See ROADMAP.md section P3.

## Background Roadmap item: **P3 -- Multi-model support** Currently all analysis uses a single globally configured LLM. Allowing users to select a model per analysis request enables A/B comparison of provider outputs (GPT-4o vs Gemini vs Claude). ## Task 1. Add an optional model field to the analysis request payload. 2. The backend passes the requested model to the LLM client; falls back to the global MODEL env var if not specified. 3. Store the model used alongside the analysis result in the database. 4. Frontend: add a model selector dropdown on the analysis submission form. ## Acceptance Criteria - [ ] Submitting an analysis request with model: openai/gpt-4o uses that model for the LLM call. - [ ] The model name is stored in the result and visible in the UI. - [ ] Omitting the model field uses the default configured model. - [ ] Model selector shows at minimum three options in the frontend. ## Reference See ROADMAP.md section P3.
AI-Manager added the P3agent-readylargefeature labels 2026-03-30 17:27:34 +00:00
Author
Owner

Resolved by PRs #64, #1015, and #353 (merged). Per-analysis LLM provider selection is supported via the model parameter on analysis endpoints. Model validation against an allow-list is enforced. A model picker UI is wired through the frontend.

Resolved by PRs #64, #1015, and #353 (merged). Per-analysis LLM provider selection is supported via the `model` parameter on analysis endpoints. Model validation against an allow-list is enforced. A model picker UI is wired through the frontend.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1399