WIP almost done with track planning
This commit is contained in:
@@ -1,16 +1,32 @@
|
||||
# Implementation Plan: Cost & Token Analytics Panel (cost_token_analytics)
|
||||
# Implementation Plan: Cost & Token Analytics Panel (cost_token_analytics_20260306)
|
||||
|
||||
## Phase 1: Research & Design
|
||||
- [ ] Task: Analyze existing backend implementation
|
||||
- [ ] Task: Design GUI/UX approach
|
||||
- [ ] Task: Conductor - User Manual Verification
|
||||
## Phase 1: Panel Setup
|
||||
- [ ] Task: Initialize MMA Environment
|
||||
- [ ] Task: Create cost panel structure
|
||||
- WHERE: src/gui_2.py
|
||||
- WHAT: New panel for cost display
|
||||
- HOW: Add _render_cost_panel method
|
||||
- SAFETY: Non-blocking updates
|
||||
|
||||
## Phase 2: Implementation
|
||||
- [ ] Task: Implement feature
|
||||
- [ ] Task: Write tests
|
||||
- [ ] Task: Conductor - User Manual Verification
|
||||
## Phase 2: Cost Calculations
|
||||
- [ ] Task: Integrate cost_tracker
|
||||
- WHERE: src/gui_2.py
|
||||
- WHAT: Use cost_tracker.estimate_cost
|
||||
- HOW: Call with model and token counts
|
||||
- SAFETY: Cache expensive calculations
|
||||
- [ ] Task: Track session totals
|
||||
- WHERE: src/gui_2.py or app_controller
|
||||
- WHAT: Accumulate cost over session
|
||||
- HOW: Maintain running total
|
||||
- SAFETY: Thread-safe updates
|
||||
|
||||
## Phase 3: Verification
|
||||
- [ ] Task: Run test suite
|
||||
- [ ] Task: Verify coverage
|
||||
- [ ] Task: Conductor - Phase Completion Verification
|
||||
## Phase 3: UI Implementation
|
||||
- [ ] Task: Render cost breakdown
|
||||
- WHERE: src/gui_2.py
|
||||
- WHAT: Show per-model and per-tier costs
|
||||
- HOW: imgui tables
|
||||
- SAFETY: Handle zero/empty states
|
||||
|
||||
## Phase 4: Verification
|
||||
- [ ] Task: Test cost calculations
|
||||
- [ ] Task: Conductor - Phase Verification
|
||||
|
||||
Reference in New Issue
Block a user