litellm/litellm/responses
Claude 9393c10a13
refactor(usage): move non-pricing usage building into litellm_core_utils/usage
The cost module only prices now. Usage building moves into litellm/litellm_core_utils/usage: the token usage
processors (base, realtime, Responses WebSocket) and the translation session seconds, get_usage_object and the
usage shapes it reads, the transcription and interactions usage transformations, the cache token readers, the
prompt and completion token detail parsers with the web search request readers, and the Bedrock guardrail trace
parsing. object_mapping, object_items and is_str_keyed_dict move to core_helpers.

Old paths keep a re-export only where tests import them: the three token usage processors from
litellm.cost_calculator, get_web_search_requests and parse_prompt_tokens_details from llm_cost_calc.utils and
bedrock_guardrail_trace from llm_cost_calc.guardrail_cost. The usage object transformation test moves with its
module.
2026-11-19 20:44:13 +00:00
..
file_search refactor(typing): clear 1181 basedpyright Any errors across 431 files (#47789) 2026-10-24 11:31:09 -07:00
litellm_completion_transformation refactor(usage): move non-pricing usage building into litellm_core_utils/usage 2026-11-19 20:44:13 +00:00
mcp feat(model_armor): scan MCP tool results on post_mcp_call (#51887) 2026-11-18 12:17:47 -08:00
additional_tools.py feat(proxy): mixed Codex model picker and LiteLLM routing on native codex routes (#49408) 2026-11-06 11:14:47 -08:00
bridge_check.py fix(responses): keep unset-effort gpt-5.4/5.5 tool calls on chat completions (#50968) 2026-11-10 18:33:27 +00:00
dispatch.py fix(rust): run native async calls through python's async wrapper steps (#50423) 2026-11-10 00:24:20 +00:00
main.py fix(responses): log the resolved provider on Responses API calls (#52622) 2026-11-18 22:34:16 +00:00
retrieve_stream_query.py fix(responses): resume background response streams with stream and starting_after (#48819) 2026-10-29 02:31:22 -07:00
sse_output_recovery.py refactor(typing): clear 1181 basedpyright Any errors across 431 files (#47789) 2026-10-24 11:31:09 -07:00
streaming_iterator.py refactor(usage): move non-pricing usage building into litellm_core_utils/usage 2026-11-19 20:44:13 +00:00
utils.py fix(responses): accept a string or tuple allowed_openai_params on Responses models instead of answering 500 (#51751) 2026-11-14 04:32:38 -05:00