Files
cc-switch/src-tauri/src/commands
Jason 2513687184 feat: add Copilot optimizer to reduce premium interaction consumption
Implement request classification, tool result merging, compact detection,
deterministic request IDs, and warmup downgrade for Copilot proxy.

The root cause was x-initiator being hardcoded to "user", making Copilot
count every API request (including tool callbacks and agent continuations)
as a separate premium interaction. The optimizer dynamically classifies
requests as "user" or "agent" based on message content analysis.

Closes #1813
2026-04-05 08:34:10 +08:00
..
2025-11-25 09:30:55 +08:00
2026-01-13 10:55:53 +08:00
2025-11-24 11:00:45 +08:00
2026-02-14 15:24:24 +08:00
2025-12-31 22:57:00 +08:00