ZIm/crates/language_model/src
Michael Sloan 7e801dccb0
agent: Fix issues with usage display sometimes showing initially fetched usage (#33125)
Having `Thread::last_usage` as an override of the initially fetched
usage could cause the initial usage to be displayed when the current
thread is empty or in text threads. Fix is to just store last usage info
in `UserStore` and not have these overrides

Release Notes:

- Agent: Fixed request usage display to always include the most recently
known usage - there were some cases where it would show the initially
requested usage.
2025-06-20 21:28:48 +00:00
..
model language_model: Remove CloudModel enum (#31322) 2025-05-24 02:04:51 +00:00
fake_provider.rs Standardize on u64 for token counts (#32869) 2025-06-17 10:43:07 -04:00
language_model.rs agent: Fix issues with usage display sometimes showing initially fetched usage (#33125) 2025-06-20 21:28:48 +00:00
rate_limiter.rs More resilient eval (#32257) 2025-06-09 18:07:22 +00:00
registry.rs Distinguish between missing models and registries in error messages (#32678) 2025-06-13 10:31:52 +00:00
request.rs Pass up intent with completion requests (#31710) 2025-05-29 20:43:12 +00:00
role.rs language_model: Remove dependencies on individual model provider crates (#25503) 2025-02-24 16:41:35 -05:00
telemetry.rs Don't spawn Anthropic telemetry event when API key is missing (#32813) 2025-06-16 14:58:37 -04:00