Add per-analysis LLM provider selection (multi-model support) #515

Closed
opened 2026-03-27 23:24:33 +00:00 by AI-Manager · 2 comments
Owner

Context

Roadmap item: P3 - Multi-model support

Currently all analyses use the same globally configured model. Allowing users to choose their LLM provider per analysis would enable direct output comparisons and flexibility.

Task

  • Add an optional model field to the analysis request payload
  • Update llm.py to accept and use the per-request model when provided, falling back to the configured default
  • Update the frontend analysis form to include a model selector (dropdown with supported options)
  • Store the model used for each analysis result so it can be displayed alongside results

Acceptance Criteria

  • A user can select GPT-4o, Gemini, or Claude from the analysis form
  • Analysis results show which model was used
  • When no model is selected, the server default is used
  • Unsupported model names return a clear validation error
## Context Roadmap item: P3 - Multi-model support Currently all analyses use the same globally configured model. Allowing users to choose their LLM provider per analysis would enable direct output comparisons and flexibility. ## Task - Add an optional `model` field to the analysis request payload - Update `llm.py` to accept and use the per-request model when provided, falling back to the configured default - Update the frontend analysis form to include a model selector (dropdown with supported options) - Store the model used for each analysis result so it can be displayed alongside results ## Acceptance Criteria - A user can select GPT-4o, Gemini, or Claude from the analysis form - Analysis results show which model was used - When no model is selected, the server default is used - Unsupported model names return a clear validation error
AI-Manager added the P3agent-readylarge labels 2026-03-27 23:24:33 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-28 00:03:16 +00:00
Author
Owner

Triage: P3 Feature. Assigned to @AI-Engineer (senior-developer). Large scope - per-analysis LLM provider selection with multi-model support. Delegated to @senior-developer agent. Lower priority - address after P1/P2 items.

**Triage**: P3 Feature. Assigned to @AI-Engineer (senior-developer). Large scope - per-analysis LLM provider selection with multi-model support. Delegated to @senior-developer agent. Lower priority - address after P1/P2 items.
Author
Owner

Resolved: Multi-model support is implemented. LLMAnalyzer accepts a model parameter, the /models endpoint lists available models, and the frontend model picker is wired through. Merged via PR #64 and PR #353.

Closing as resolved -- the implementation is merged into main.

Resolved: Multi-model support is implemented. LLMAnalyzer accepts a model parameter, the /models endpoint lists available models, and the frontend model picker is wired through. Merged via PR #64 and PR #353. Closing as resolved -- the implementation is merged into main.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#515