litellm/litellm
narmstrong-berri d3e3f504c8
feat(gateway): write spend log rows for failed messages calls
A /v1/messages call the Rust gateway serves and that fails now writes the
same status = "failure" row to LiteLLM_SpendLogs that the Python proxy
writes for it. The call record keeps the error's facts and the deployment
the latest attempt ran on, and the spend log input builds the failure row
from them. Every failure row costs 0.0.
2026-11-26 20:04:34 +00:00
..
a2a_protocol refactor(types): give bare dict, list and tuple returns proven types in 133 files (#54321) 2026-11-25 01:30:02 +00:00
accounting fix(accounting): initialize Prometheus collectors lazily instead of at import time (#54393) 2026-11-25 09:33:57 -08:00
anthropic_interface refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
assistants Type the kwargs reads in the assistants list, create and delete entrypoints (#54687) 2026-11-26 11:17:01 +00:00
batch_completion refactor(types): type the kwargs reads in the usage-based router strategies, rag, batch completion and the completion bridges (#54679) 2026-11-26 09:30:07 +00:00
batches refactor(types): type the parameters of Logging.update_from_kwargs and the Logfire logger's kwargs (#54693) 2026-11-26 12:40:24 +00:00
caching fix(hosted_vllm): keep vLLM's prompt_token_ids on the first streamed chat chunk (#51087) 2026-11-25 19:54:45 -08:00
chat_completions
cli
completion_extras refactor(types): type the kwargs reads in the usage-based router strategies, rag, batch completion and the completion bridges (#54679) 2026-11-26 09:30:07 +00:00
compression refactor(types): replace Unknown with proven types in 131 more files (#54119) 2026-11-24 02:26:51 -08:00
containers refactor(types): type the parameters of Logging.update_from_kwargs and the Logfire logger's kwargs (#54693) 2026-11-26 12:40:24 +00:00
decisions
deploy build(docker): build OpenSSL 3.5 LTS from source for Prisma instead of Wolfi libssl3 3.6 (#54426) 2026-11-25 18:12:01 -08:00
embeddings
endpoints/speech/speech_to_completion_bridge refactor(types): type the kwargs reads in the usage-based router strategies, rag, batch completion and the completion bridges (#54679) 2026-11-26 09:30:07 +00:00
enterprise fix(proxy): fence the Gemini pass-through file list by owner (#54308) 2026-11-25 11:25:16 -08:00
evals refactor(types): type the kwargs reads in the videos, skills, evals, vector store and container entrypoints (#54630) 2026-11-26 05:07:52 +00:00
experimental_mcp_client
extraction
files refactor(types): type the kwargs reads in the responses, images, realtime, files, rerank, batches and fine-tuning entrypoints (#54653) 2026-11-26 10:07:19 +00:00
fine_tuning refactor(types): type the kwargs reads in the responses, images, realtime, files, rerank, batches and fine-tuning entrypoints (#54653) 2026-11-26 10:07:19 +00:00
google_genai refactor(types): type the kwargs reads in the responses, images, realtime, files, rerank, batches and fine-tuning entrypoints (#54653) 2026-11-26 10:07:19 +00:00
harness refactor(typing): clear basedpyright Any errors across 35 files (#53599) 2026-11-24 00:39:02 +00:00
images refactor(types): type the kwargs reads in the responses, images, realtime, files, rerank, batches and fine-tuning entrypoints (#54653) 2026-11-26 10:07:19 +00:00
integrations Type the kwargs reads in the Prometheus logger (#54711) 2026-11-26 14:20:22 +00:00
interactions refactor(types): type the params models' get and read keys and base URLs through a str-or-None helper (#54589) 2026-11-26 04:13:56 +00:00
litellm_core_utils fix(anthropic): refuse a tool message whose tool_call_id is not a string when caller ids are kept (#54735) 2026-11-26 18:58:36 +00:00
llms refactor(types): type the headers of the search and rerank validate_environment base methods and their provider overrides (#54727) 2026-11-26 17:51:16 +00:00
mcp_client refactor(types): give bare dict, list and tuple returns proven types in 133 files (#54321) 2026-11-25 01:30:02 +00:00
messages fix(anthropic): keep caller tool_use ids unless the upstream rejects them (#54468) 2026-11-26 05:55:01 +00:00
models refactor(typing): clear 102 basedpyright Any errors across 21 files (#54586) 2026-11-25 19:03:46 -08:00
ocr
packaging bump: litellm-enterprise 0.1.88 -> 0.1.90, litellm-proxy-extras 0.4.120 -> 0.4.122, litellm 1.112.0 -> 1.113.0 (#54314) 2026-11-24 16:46:51 -08:00
passthrough refactor(types): type the kwargs reads in the responses, images, realtime, files, rerank, batches and fine-tuning entrypoints (#54653) 2026-11-26 10:07:19 +00:00
proxy chore(techdebt): remove fresh suppressions and dynamic getattr added on 2026-11-25 (#54662) 2026-11-26 08:31:53 +00:00
proxy-extras bump: litellm-enterprise 0.1.88 -> 0.1.90, litellm-proxy-extras 0.4.120 -> 0.4.122, litellm 1.112.0 -> 1.113.0 (#54314) 2026-11-24 16:46:51 -08:00
proxy_auth
rag refactor(types): type the kwargs reads in the usage-based router strategies, rag, batch completion and the completion bridges (#54679) 2026-11-26 09:30:07 +00:00
realtime_api refactor(types): type the parameters of Logging.update_from_kwargs and the Logfire logger's kwargs (#54693) 2026-11-26 12:40:24 +00:00
redis fix(proxy): write a cold spend counter's cached spend once (#52806) 2026-11-24 13:00:34 -08:00
repositories perf(auth): read the auth prefetch owner rows through a rust repository (#53452) 2026-11-25 08:02:02 +09:00
rerank_api refactor(types): type the kwargs reads in the responses, images, realtime, files, rerank, batches and fine-tuning entrypoints (#54653) 2026-11-26 10:07:19 +00:00
responses refactor(types): type the kwargs reads in the responses, images, realtime, files, rerank, batches and fine-tuning entrypoints (#54653) 2026-11-26 10:07:19 +00:00
router_rust fix(ocr): report an unreachable document URL as a 400, not a provider 500 (#54215) 2026-11-26 07:56:58 +00:00
router_strategy refactor(types): type the kwargs reads in the usage-based router strategies, rag, batch completion and the completion bridges (#54679) 2026-11-26 09:30:07 +00:00
router_utils fix(ocr): report an unreachable document URL as a 400, not a provider 500 (#54215) 2026-11-26 07:56:58 +00:00
runtime refactor(proxy)!: remove the TypeSafe pass-through route in favor of the unified decision endpoints (#52165) 2026-11-24 16:05:44 -08:00
rust feat(gateway): write spend log rows for failed messages calls 2026-11-26 20:04:34 +00:00
rust_bridge fix(ocr): report an unreachable document URL as a 400, not a provider 500 (#54215) 2026-11-26 07:56:58 +00:00
sandbox refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
scripts fix(lint_config): check model_info and report settings a model needs (#54290) 2026-11-25 00:11:17 +00:00
search refactor(types): type the parameters of Logging.update_from_kwargs and the Logfire logger's kwargs (#54693) 2026-11-26 12:40:24 +00:00
secret_managers chore(types): type optional_params and litellm_params as dict[str, object] across provider method families (#54175) 2026-11-24 14:40:37 +00:00
skills refactor(types): type the kwargs reads in the videos, skills, evals, vector store and container entrypoints (#54630) 2026-11-26 05:07:52 +00:00
systemone
telemetry fix(router): make the constructor stub work for mypy and guard it in CI (#50354) 2026-11-22 21:25:00 +00:00
text_completions refactor(types): type the dict-style accessors on the response models and their read sites (#54620) 2026-11-26 04:15:22 +00:00
types refactor(types): type the completion dispatch context's optional_params for the providers that read no credentials from it (#54716) 2026-11-26 15:29:50 +00:00
ui refactor(ui): remove eight unused dashboard locals (#54591) 2026-11-26 02:37:07 +00:00
vector_store_files refactor(types): type the kwargs reads in the videos, skills, evals, vector store and container entrypoints (#54630) 2026-11-26 05:07:52 +00:00
vector_stores fix(passthrough): find a new Azure AI Search index in the DB on a registry miss (#51098) 2026-11-26 08:29:21 +00:00
videos refactor(types): type the kwargs reads in the videos, skills, evals, vector store and container entrypoints (#54630) 2026-11-26 05:07:52 +00:00
vscode-extension
__init__.py fix(ocr): report an unreachable document URL as a 400, not a provider 500 (#54215) 2026-11-26 07:56:58 +00:00
_internal_context.py fix(proxy): keep a request's slot, TPM and budget holds while it runs MCP tools (#54469) 2026-11-26 08:11:44 +00:00
_lazy_imports.py
_lazy_imports_registry.py feat(harness): compare custom agents with supported harnesses (#53381) 2026-11-21 21:08:36 +00:00
_logging.py fix(proxy): redact credential-named provider error fields that the name check skipped (#54302) 2026-11-24 23:54:47 +00:00
_process_defaults.py
_redis.py refactor(types): give untyped kwargs and args parameters proven types in 36 files (#54203) 2026-11-24 10:51:54 -08:00
_redis_credential_provider.py
_service_logger.py refactor(types): type bare dict data and request_data parameters across method families (#54192) 2026-11-24 08:39:27 -08:00
_uuid.py
_version.py
anthropic_beta_gated_fields.py
anthropic_beta_headers_config.json fix(bedrock,databricks): forward the server-side-fallback beta and drop it under drop_params where the model lacks it (#53857) 2026-11-24 03:09:16 +00:00
anthropic_beta_headers_manager.py refactor(types): give bare dict, list and tuple returns proven types in 133 files (#54321) 2026-11-25 01:30:02 +00:00
blog_posts.json
budget_manager.py refactor(types): replace Unknown with proven types in 86 files (#53803) 2026-11-24 12:45:20 +00:00
constants.py fix(cost-map): report a failed refresh from the Rust core, without the URL's credentials (#52804) 2026-11-26 14:32:38 +09:00
cost.json
cost_calculator.py fix(a2a): bill chat route agent calls at the agent's own price (#51808) 2026-11-26 05:44:54 +00:00
exceptions.py fix(ocr): report an unreachable document URL as a 400, not a provider 500 (#54215) 2026-11-26 07:56:58 +00:00
guardrails.py
main.py refactor(types): type the completion dispatch context's optional_params for the providers that read no credentials from it (#54716) 2026-11-26 15:29:50 +00:00
model_prices_and_context_window_backup.json fix(cost-map): add Flex image output token prices to four Vertex Gemini image models (#54718) 2026-11-26 16:29:11 +00:00
policy_templates_backup.json
provider_endpoints_support_backup.json feat(volcengine): add Ark Seedream image generation, editing, and pricing (#54076) 2026-11-26 07:52:44 +00:00
py.typed
router.py refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
router_api.py feat(proxy): skip blocked deployments in background health checks (#52761) 2026-11-24 07:53:23 -08:00
router_attempt.py
router_config.py
router_core.py
router_deprecated.py refactor(types): give untyped kwargs and args parameters proven types in 36 files (#54203) 2026-11-24 10:51:54 -08:00
router_host.py
router_python_host.py
scheduler.py refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
schema.prisma feat(mcp): persist per-server event settings (#53602) 2026-11-24 06:31:10 +00:00
setup_wizard.py refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
timeout.py refactor(types): give untyped kwargs and args parameters proven types in 36 files (#54203) 2026-11-24 10:51:54 -08:00
tool_loop.py
utils.py feat(volcengine): add Ark Seedream image generation, editing, and pricing (#54076) 2026-11-26 07:52:44 +00:00