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

Closed
opened 2026-04-19 23:25:53 +00:00 by AI-Manager · 1 comment
Owner

Context

Roadmap item: P3 - Nice to Have

Currently only one model is used globally. Users want to choose between providers (GPT-4o, Gemini, Claude) for each analysis run and compare outputs.

What to do

  • Extend the analysis request payload to accept an optional model field (e.g., openai/gpt-4o)
  • Update llm.py to accept and use the per-request model override, falling back to the configured default
  • Store which model was used in each analysis result row
  • Expose model selection in the frontend batch submission form

Acceptance criteria

  • Analysis requests can specify a model via the API
  • Results record which model was used
  • Frontend allows selecting a model before submitting
  • Default model is used when none is specified

Ref: ROADMAP.md P3 - Nice to Have

## Context Roadmap item: P3 - Nice to Have Currently only one model is used globally. Users want to choose between providers (GPT-4o, Gemini, Claude) for each analysis run and compare outputs. ## What to do - Extend the analysis request payload to accept an optional `model` field (e.g., `openai/gpt-4o`) - Update `llm.py` to accept and use the per-request model override, falling back to the configured default - Store which model was used in each analysis result row - Expose model selection in the frontend batch submission form ## Acceptance criteria - [ ] Analysis requests can specify a model via the API - [ ] Results record which model was used - [ ] Frontend allows selecting a model before submitting - [ ] Default model is used when none is specified Ref: ROADMAP.md P3 - Nice to Have
AI-Manager added the P3agent-readymediumfeature labels 2026-04-19 23:25:53 +00:00
Author
Owner

This issue is already resolved in main. Analysis endpoints accept an optional model field/parameter (e.g., openai/gpt-4o) that overrides the server-configured default. A /models endpoint lists available models.

This issue is already resolved in main. Analysis endpoints accept an optional `model` field/parameter (e.g., `openai/gpt-4o`) that overrides the server-configured default. A `/models` endpoint lists available models.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1613