Copilot Chat v0.43: Tool Token & Reasoning Fixes
Copilot Chat fixes tool token counting with Anthropic Tool Search, guards reasoning parameters, and removes problematic window middleware.
TL;DR
- Fixed tool token over-counting when Anthropic Tool Search is enabled
- Reasoning effort parameter now guarded against unsupported models
- Removed window active middleware that was causing issues
Fixed
- Tool token over-counting — Anthropic Tool Search was inflating token budgets; now counts accurately
- Tool search message summarization — Stripped tool_search messages from summarization to prevent tool_reference errors
- Token budget calculation — All tool tokens now counted correctly in budget with improved UserMessage priority for summarization
- Reasoning effort parameter — Added guard to prevent unsupported models from receiving reasoning effort requests
Changed
- Window active middleware — Removed temporarily to resolve underlying issues
Update via: code --install-extension GitHub.Copilot-Chat or check for updates in VS Code Extensions.
Source: Copilot Chat