refinement of upcoming tracks
This commit is contained in:
@@ -1,21 +1,37 @@
|
||||
# Track Specification: Per-Ticket Model Override (per_ticket_model_20260306)
|
||||
|
||||
## Overview
|
||||
Allow user to manually select which model to use for a specific ticket, overriding the default tier model. Useful for forcing smarter model on hard tickets.
|
||||
Allow user to manually select which model to use for a specific ticket, overriding the default tier model.
|
||||
|
||||
## Architectural Constraints
|
||||
- **Validation**: Selected model MUST be valid and available.
|
||||
- **Clear Override**: Override MUST be visually distinct.
|
||||
## Current State Audit
|
||||
|
||||
### Already Implemented
|
||||
- **`models.Ticket`**: Has no model_override field
|
||||
- **`multi_agent_conductor.py`**: Uses fixed model per tier
|
||||
- **`ai_client.py`**: `set_provider()`, `set_model()` functions
|
||||
|
||||
### Gaps to Fill
|
||||
- No model_override field on Ticket
|
||||
- No UI for model selection per ticket
|
||||
- No override indicator in GUI
|
||||
|
||||
## Functional Requirements
|
||||
- **Model Dropdown**: Select model per ticket.
|
||||
- **Override Flag**: Mark ticket as using override.
|
||||
- **Clear Indicator**: Visual show override is active.
|
||||
- **Reset Option**: Remove override and revert to tier default.
|
||||
- Add `model_override: Optional[str]` to Ticket dataclass
|
||||
- Model dropdown in ticket UI
|
||||
- Visual indicator when override active
|
||||
- Reset button to clear override
|
||||
|
||||
## Key Integration Points
|
||||
| File | Purpose |
|
||||
|-----|---------|
|
||||
| `src/models.py` | Add model_override field |
|
||||
| `src/gui_2.py` | Model dropdown UI |
|
||||
| `src/multi_agent_conductor.py` | Use override at execution |
|
||||
|
||||
## Acceptance Criteria
|
||||
- [ ] Model dropdown works.
|
||||
- [ ] Override saves correctly.
|
||||
- [ ] Visual indicator shows override.
|
||||
- [ ] Reset returns to default.
|
||||
- [ ] Override used during execution.
|
||||
- [ ] Model dropdown works
|
||||
- [ ] Override saves correctly
|
||||
- [ ] Visual indicator shows override
|
||||
- [ ] Reset returns to default
|
||||
- [ ] Override used during execution
|
||||
- [ ] 1-space indentation
|
||||
|
||||
Reference in New Issue
Block a user