ZIm/crates/language_models/src
Umesh Yadav ed4b29f80c
language_models: Improve token counting for providers (#32853)
We push the usage data whenever we receive it from the provider to make
sure the counting is correct after the turn has ended.

- [x] Ollama 
- [x] Copilot 
- [x] Mistral 
- [x] OpenRouter 
- [x] LMStudio

Put all the changes into a single PR open to move these to separate PR
if that makes the review and testing easier.

Release Notes:

- N/A
2025-06-17 10:46:29 +00:00
..
provider language_models: Improve token counting for providers (#32853) 2025-06-17 10:46:29 +00:00
ui agent: Fix instruction list item with multiple buttons not working (#30541) 2025-05-12 06:19:20 -03:00
language_models.rs Add support for OpenRouter as a language model provider (#29496) 2025-06-03 15:59:46 +00:00
provider.rs Add support for OpenRouter as a language model provider (#29496) 2025-06-03 15:59:46 +00:00
settings.rs copilot: Allow enterprise to sign in and use copilot (#32296) 2025-06-17 11:36:53 +02:00
ui.rs assistant: Refine settings view's instruction visuals (#25812) 2025-02-28 12:06:47 -03:00