litellm/litellm/integrations
Mateo Wang eaa9a1fda3
refactor(types): replace Unknown with proven types in 225 files (#53687)
* refactor(types): replace Unknown with proven types in 230 files

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* refactor(types): keep merge-base runtime behavior and mark new locals Final

Restore stream_assembly.py, videos/main.py and vector_store_files/main.py to their main state, since strict validation of message_start and message_delta frames and the filter on caller supplied clients changed what those paths accept. Mark single assignment locals this change touched as Final

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(merge): keep gnani model registration from main

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* refactor(types): move legacy_spend_log_rows annotations to their own PR

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* refactor(types): keep main's Data Lake client protocols in the Azure blob file backend

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-24 00:11:50 +00:00
..
_types style: unify ruff format width on 120 (#31518) 2026-06-27 12:39:29 -07:00
agentops fix(caching): key cached async clients by a per-loop token instead of id(loop) (#48877) 2026-10-29 13:14:48 -07:00
arize refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
azure_sentinel refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
azure_storage refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
bitbucket refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
clickhouse refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
cloudzero refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
code_interpreter_interception refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
compression_interception fix(anthropic): stream /v1/messages text before an internal retrieve tool call (#53658) 2026-11-23 05:17:36 +00:00
custom_logger_v2 fix(router): make the constructor stub work for mypy and guard it in CI (#50354) 2026-11-22 21:25:00 +00:00
datadog refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
deepeval refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
dotprompt refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
email_templates feat(proxy): add team budget percentage email alerts (#52859) 2026-11-19 16:21:25 -08:00
focus refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
gcs_bucket refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
gcs_pubsub refactor(typing): clear 1181 basedpyright Any errors across 431 files (#47789) 2026-10-24 11:31:09 -07:00
generic_api refactor(types): replace Unknown with proven types in 68 files (#53642) 2026-11-23 07:11:32 +00:00
generic_prompt_management refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
gitlab refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
langfuse refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
lens fix(lens): accept a key in every header the gateway reads keys from on Lens routes (#53810) 2026-11-23 21:11:52 +00:00
levo refactor(typing): widen delete_nested_value to Mapping and drop two unused Span aliases (#48001) 2026-10-24 19:39:27 +00:00
litellm_agent feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00
mavvrik_focus refactor(typing): clear 1143 basedpyright Any errors across 273 files (#46574) 2026-10-15 21:08:47 +00:00
newrelic refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
opentelemetry_utils refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
opik refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
otel refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
pointfive perf(types): defer pydantic schema builds via shared LiteLLMBaseModel (#44720) 2026-10-05 22:10:08 -07:00
prometheus_helpers refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
prompt_cache_alerts fix(logging): stop keeping a full response copy nobody reads (#52524) 2026-11-18 11:51:01 -08:00
SlackAlerting refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
ternary refactor: clean up fresh tech debt in per-user Copilot auth, Ternary FOCUS export and telemetry (#45769) 2026-10-15 04:29:27 +00:00
vantage refactor(typing): clear 1143 basedpyright Any errors across 273 files (#46574) 2026-10-15 21:08:47 +00:00
vector_store_integrations refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
weave refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
websearch_interception refactor(types): replace Unknown with proven types in 62 files (#53647) 2026-11-23 18:17:56 +00:00
zerobus perf(types): defer pydantic schema builds via shared LiteLLMBaseModel (#44720) 2026-10-05 22:10:08 -07:00
__init__.py add linting 2023-08-18 11:05:05 -07:00
additional_logging_utils.py refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
anthropic_cache_control_hook.py refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
argilla.py refactor(types): replace Unknown with proven types in 62 files (#53647) 2026-11-23 18:17:56 +00:00
athina.py refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
batch_line_item_objects.py feat(batches): store each batch line's request and response in S3 and GCS (#41691) 2026-10-15 11:32:56 -07:00
batch_utils.py fix(azure_sentinel): split batches under the 1MB ingestion cap (#39880) 2026-09-05 17:15:36 -07:00
braintrust_logging.py refactor(types): replace Unknown with proven types in 68 files (#53642) 2026-11-23 07:11:32 +00:00
braintrust_mock_client.py refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
callback_configs.json feat(s3_v2): add s3_partition_granularity option for hourly S3 folders (#43748) 2026-10-01 11:00:21 -07:00
custom_batch_logger.py feat(tracing): add OTLP trace ingestion and reads (#43915) 2026-09-30 21:12:29 +00:00
custom_guardrail.py refactor(types): replace Unknown with proven types in 68 files (#53642) 2026-11-23 07:11:32 +00:00
custom_logger.py refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
custom_prompt_management.py refactor(lint): apply every safe ruff autofix and zero 28 strict-rule budgets 2026-08-01 15:43:29 -07:00
custom_secret_manager.py refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
custom_sso_handler.py feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00
customer_budget_webhook.py fix(proxy): alert on customer org, customer team, and customer member budgets (#51579) 2026-11-13 09:16:33 -08:00
dynamodb.py fix(spend)!: save streamed /v1/responses spend rows under the encrypted resp_ id the client received (#49493) 2026-11-02 14:13:17 -08:00
email_alerting.py refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
galileo.py refactor(typing): clear 1141 basedpyright Any errors across 182 files (#50711) 2026-11-11 22:11:47 +00:00
greenscale.py feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00
helicone.py refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
helicone_mock_client.py feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00
humanloop.py refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
lago.py refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
langsmith.py refactor(types): replace Unknown with proven types in 62 files (#53647) 2026-11-23 18:17:56 +00:00
langsmith_mock_client.py feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00
langtrace.py refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
literal_ai.py refactor(types): replace Unknown with proven types in 68 files (#53642) 2026-11-23 07:11:32 +00:00
logfire_logger.py refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
lunary.py refactor(types): replace Unknown with proven types in 62 files (#53647) 2026-11-23 18:17:56 +00:00
mlflow.py refactor(types): replace Unknown with proven types in 68 files (#53642) 2026-11-23 07:11:32 +00:00
mock_client_factory.py refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
model_deprecation_email.py feat(alerts): add management controls and opt-in daily summaries (#51418) 2026-11-12 10:06:07 -08:00
openmeter.py refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
opentelemetry.py refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
performance_alert_notifications.py feat(alerts): add management controls and opt-in daily summaries (#51418) 2026-11-12 10:06:07 -08:00
posthog.py refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
posthog_mock_client.py feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00
prefix_block_hashes.py feat(proxy): opt-in prefix block hashes in spend logs for workload replay (#52120) 2026-11-16 22:52:42 -08:00
prometheus.py refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
prometheus_metrics_endpoint.py perf(prometheus): render /metrics off the event loop and coalesce concurrent scrapes (#37702) 2026-08-20 16:08:22 -07:00
prometheus_services.py fix(redis): share one native circuit breaker between RedisCache and the Rust stores (#50473) 2026-11-07 17:50:06 +09:00
prompt_layer.py refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
prompt_management_base.py refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
Readme.md (Feat) - Add GCS Pub/Sub Logging integration for sending DB SpendLogs to BigQuery (#7976) 2025-01-24 20:57:20 -08:00
rubrik.py refactor(types): replace Unknown with proven types in 62 files (#53647) 2026-11-23 18:17:56 +00:00
s3.py refactor(types): replace Unknown with proven types in 62 files (#53647) 2026-11-23 18:17:56 +00:00
s3_v2.py refactor(s3-log): move the rust-backed s3 logger from s3_v3 to s3_v2 (#51893) 2026-11-14 22:24:23 -08:00
shadow_eval_logger.py refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
sqs.py refactor(types): replace Unknown with proven types in 62 files (#53647) 2026-11-23 18:17:56 +00:00
supabase.py refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
test_httpx.py fix(utils.py): improved predibase exception mapping 2024-06-08 14:32:43 -07:00
traceloop.py refactor(types): replace Unknown with proven types in 68 files (#53642) 2026-11-23 07:11:32 +00:00
weights_biases.py refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00

Integrations

This folder contains logging integrations for litellm

eg. logging to Datadog, Langfuse, Prometheus, s3, GCS Bucket, etc.