Lucas Gomide
d09e3f4544
feat: flatten LiteLLM cache/reasoning usage sub-counts in _usage_to_dict (#6033)
LiteLLM returns provider usage as-is, nesting cache-read / cache-creation /
reasoning counts under provider-specific shapes (e.g.
prompt_tokens_details.cached_tokens, Anthropic-style cache_read_input_tokens).
Surface them as flat cached_prompt_tokens / reasoning_tokens /
cache_creation_tokens keys so the span pipeline can read them; prompt /
completion / total token counts are left untouched.
2026-06-03 15:13:30 -04:00
..
2026-05-26 10:23:33 -07:00
2026-06-02 17:14:51 -07:00
2026-06-03 11:53:16 -07:00
2026-05-26 10:23:33 -07:00
2025-10-20 14:10:19 -07:00
2025-12-04 16:53:19 -05:00
2026-06-03 15:13:30 -04:00
2026-05-28 09:38:10 -07:00
2026-05-26 10:23:33 -07:00
2026-05-26 10:23:33 -07:00
2026-06-02 17:14:51 -07:00
2026-05-27 13:38:25 -07:00
2026-05-26 10:23:33 -07:00
2025-11-29 16:55:24 -05:00
2025-11-05 07:19:09 -05:00
2026-05-26 10:23:33 -07:00
2026-05-26 10:23:33 -07:00
2026-05-28 09:38:10 -07:00
2026-02-13 21:34:37 -03:00
2026-05-04 18:42:12 +08:00
2026-05-26 10:23:33 -07:00
2026-06-02 17:14:51 -07:00
2026-06-03 11:53:16 -07:00
2026-05-26 10:23:33 -07:00
2025-10-20 14:10:19 -07:00
2026-03-15 18:33:17 -07:00
2026-06-01 18:37:10 -03:00
2026-05-26 10:23:33 -07:00
2026-05-06 20:46:46 +08:00
2026-05-26 10:23:33 -07:00
2026-01-22 17:44:03 -08:00
2026-05-27 13:20:53 -07:00
2025-10-20 14:10:19 -07:00
2026-06-02 09:38:34 -07:00
2026-05-26 10:23:33 -07:00
2026-05-26 10:23:33 -07:00
2026-05-26 10:23:33 -07:00
2026-06-03 11:53:16 -07:00
2026-05-26 10:23:33 -07:00
2026-05-26 10:23:33 -07:00
2026-01-23 15:13:25 -05:00
2026-05-26 10:23:33 -07:00
2025-10-20 14:10:19 -07:00
2026-05-26 10:23:33 -07:00
2026-05-26 10:23:33 -07:00
2026-06-01 15:24:58 -07:00
2026-04-28 14:57:49 +08:00
2025-10-20 14:10:19 -07:00
2026-05-26 10:23:33 -07:00
2026-05-26 10:23:33 -07:00
2025-10-20 14:10:19 -07:00
2026-05-26 10:23:33 -07:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2026-05-26 10:23:33 -07:00
2025-11-29 16:55:24 -05:00
2026-05-26 10:23:33 -07:00
2026-05-26 10:23:33 -07:00
2026-05-26 10:23:33 -07:00
2026-04-01 18:08:37 -03:00