fix: correct GoogleLLMService token counting

This commit is contained in:
Mark Backman
2025-11-06 10:01:37 -05:00
parent 616abfd96c
commit 34d6f3fa00
2 changed files with 14 additions and 5 deletions

View File

@@ -87,6 +87,9 @@ reason")`.
- `GeminiLiveLLMService` now properly supports context-provided system
instruction and tools.
- Fixed `GoogleLLMService` token counting to avoid double-counting tokens when
Gemini sends usage metadata across multiple streaming chunks.
### Removed
- Removed `needs_mcp_alternate_schema()` from `LLMService`. The mechanism that