Description
When using Zed editor with AI Bridge, the input token count is significantly higher than expected, but the Token Usage Metadata display shows all zeros.
Problem
- Sending a simple message like "Hello from Zed" results in 6353 input tokens
- Zed's "Text" mode: ~6000+ input tokens
- Zed's "Agent" mode: ~11000+ input tokens
- Token Usage Metadata in AI Bridge displays all zeros, making it impossible to track/debug token consumption
Expected Behavior
Token Usage Metadata should accurately reflect actual token consumption so users can understand what's contributing to high token input counts.
Questions
- Where in AI Bridge can users see what's consuming the extra input tokens?
- Why does the Token Usage Metadata show zeros when tokens are clearly being consumed?
Context
This may be related to Zed injecting additional context (system prompts, editor context, etc.) that isn't being tracked properly by the metadata display or AI Bridge in general.
Description
When using Zed editor with AI Bridge, the input token count is significantly higher than expected, but the Token Usage Metadata display shows all zeros.
Problem
Expected Behavior
Token Usage Metadata should accurately reflect actual token consumption so users can understand what's contributing to high token input counts.
Questions
Context
This may be related to Zed injecting additional context (system prompts, editor context, etc.) that isn't being tracked properly by the metadata display or AI Bridge in general.