chore(conductor): Add per-response metrics requirement to caching optimization track

This commit is contained in:
2026-03-08 13:55:32 -04:00
parent d7083fc73f
commit 235b369d15
2 changed files with 3 additions and 0 deletions

View File

@@ -35,5 +35,7 @@
- [ ] Implement visual indicators (badges) for cached files in the Context Hub.
- [ ] Task: Add manual cache management buttons to the AI Settings panel.
- [ ] "Force Cache Rebuild" and "Clear All Server Caches".
- [ ] Task: Update Comms Log UI to show per-response metrics.
- [ ] Modify `_render_comms_history_panel` in `src/gui_2.py` to display token usage (including cache hits) for each response entry.
- [ ] Task: Final end-to-end efficiency audit across all providers.
- [ ] Task: Conductor - User Manual Verification 'Phase 4: GUI Integration & Visualization' (Protocol in workflow.md)

View File

@@ -35,6 +35,7 @@ This track aims to verify and optimize the caching strategies across all support
- Add a "Force Cache Rebuild" button to invalidate existing caches and start fresh.
- Add a "Clear Provider Caches" button to explicitly delete server-side caches (primarily for Gemini).
- **Cache Awareness:** Display a visual indicator (e.g., a "Cached" badge) next to files in the Context Hub that are currently part of a cached prefix.
- **Per-Response Comms Metrics:** Ensure each response entry in the Comms Log displays its specific token usage (input, output, cached) directly in the list or detail view for immediate verification of caching efficacy.
## Non-Functional Requirements
- **Efficiency:** The caching logic itself must not introduce significant overhead or latency.