litellm/litellm
Graham Neubig 17f8916ce3
fix(logging): Include langfuse logger in JSON logging when langfuse callback is used (#19162)
When JSON_LOGS is enabled and langfuse is configured as a success/failure callback,
the langfuse logger now receives the JSON formatter. This ensures langfuse SDK
log messages (like 'Item exceeds size limit' warnings) are output as JSON with
proper level information, instead of plain text that log aggregators may
incorrectly classify as errors.

Fixes issue where langfuse warnings appeared as errors in Datadog due to missing
log level in unformatted output.

Co-authored-by: openhands <openhands@all-hands.dev>
2026-01-17 00:59:38 +05:30
..
a2a_protocol [Fix] A2a endpoint - fix timeout (#18747) 2026-01-07 13:31:53 +05:30
anthropic_interface [bug fix] do not fallback to token counter if disable_token_counter is enabled (#19041) 2026-01-13 16:53:38 -08:00
assistants
batch_completion
batches Revert batch utils with original logic 2025-12-10 17:01:21 +05:30
caching Add support for caching for responses API 2026-01-14 13:33:07 +05:30
completion_extras Fix: mypy errors 2026-01-08 15:56:55 +05:30
containers Make keepalive_timeout parameter work for Gunicorn (#19087) 2026-01-16 03:32:59 +05:30
endpoints/speech/speech_to_completion_bridge fix: fix import errors 2025-09-14 09:32:21 -07:00
experimental_mcp_client [Feat] mcp resources support (#16800) 2025-11-20 14:53:44 -08:00
files [Feat] Manus FILES API - Add File upload, get, delete, list (#18904) 2026-01-10 13:27:54 -08:00
fine_tuning
google_genai fix(google_genai): forward extra_headers in generateContent adapter (#18935) 2026-01-12 16:23:58 +05:30
images Add support for openrouter image generation endpoint 2026-01-14 10:15:02 +05:30
integrations chore: fix lint error 2026-01-16 10:19:27 +09:00
interactions [Feat] Interactions API - allow using all litellm providers (interactions -> responses api bridge) (#18373) 2025-12-23 22:30:22 +05:30
litellm_core_utils Merge pull request #19198 from BerriAI/litellm_handle_malformed_tool_bedrock 2026-01-16 18:05:10 +05:30
llms fix(vertex_ai): Vertex AI 400 Error: Model used by GenerateContent request (models/gemini-3-*) and CachedContent (models/gemini-3-*) has to be the same (#19193) 2026-01-17 00:56:15 +05:30
ocr [Feat] /ocr - Add VertexAI OCR provider support + cost tracking (#16216) 2025-11-03 15:56:49 -08:00
passthrough Add support for model id in bedrock passthrough 2026-01-08 13:03:58 +05:30
proxy Merge pull request #19227 from BerriAI/litellm_yj_reissue 2026-01-16 11:18:38 -08:00
rag code QA fixes 2025-12-20 13:56:04 +05:30
realtime_api Fix: handling of model name in query param 2026-01-15 15:06:37 +05:30
rerank_api Add tests for header forwarding 2025-12-12 17:54:17 +05:30
responses test: add mcp completions test 2026-01-15 15:47:45 +09:00
router_strategy feat(tag-routing): support toggling tag matching between ANY and ALL (#18776) 2026-01-08 23:39:03 +05:30
router_utils Revert "fix: models loadbalancing billing issue by filter (#18891)" 2026-01-16 15:21:10 +05:30
search [Bug Fix] Exa Search API - ensure request params are sent to Exa AI (#15855) 2025-10-23 11:56:30 -07:00
secret_managers feat: allow per-team Vault overrides when storing keys 2025-12-18 06:21:53 +09:00
skills [Feat] Unified Skills API - works across Anthropic, Vertex, Azure, Bedrock (#18232) 2025-12-19 18:55:59 +05:30
types Merge pull request #19198 from BerriAI/litellm_handle_malformed_tool_bedrock 2026-01-16 18:05:10 +05:30
vector_store_files Vector store files Stable Release (#16643) 2025-11-15 13:00:33 -08:00
vector_stores Fix vector store configuration synchronization failure 2025-12-05 11:46:14 +05:30
videos fix: respect videos content db creds 2025-12-10 23:00:01 +05:30
__init__.py ci/cd fixes 2026-01-16 08:32:30 -08:00
_lazy_imports.py refactor: migrate utils.py lazy imports to registry pattern (#18657) 2026-01-05 09:55:48 -08:00
_lazy_imports_registry.py [Feat] New provider - Manus API on /responses, GET /responses (#18804) 2026-01-08 18:37:42 +05:30
_logging.py fix(logging): Include langfuse logger in JSON logging when langfuse callback is used (#19162) 2026-01-17 00:59:38 +05:30
_redis.py fix: Apply max_connections configuration to Redis async client (#15797) 2025-10-22 09:19:08 -07:00
_service_logger.py
_uuid.py Fix: revert fastuuid optional dependency, always use fastuuid in .__uid helper (#14941) 2025-09-26 09:14:20 -07:00
_version.py
budget_manager.py
constants.py [Feat] Claude Code - Add End-user tracking with Claude Code (#19171) 2026-01-15 17:57:10 -08:00
cost.json
cost_calculator.py test fix 2026-01-15 16:48:21 -08:00
exceptions.py fix: preserve llm_provider-* headers in error responses (#19020) 2026-01-14 22:49:39 +05:30
main.py fix: prevent MCP type objects from being captured in locals() 2026-01-15 17:14:58 +09:00
model_prices_and_context_window_backup.json fix stability mode 2026-01-16 09:08:11 -08:00
mypy.ini fix mypy 2025-09-27 12:21:32 -07:00
py.typed
router.py Merge pull request #19159 from BerriAI/litellm_staging_01_15_2026 2026-01-16 18:04:25 +05:30
scheduler.py
timeout.py
utils.py Merge pull request #19059 from BerriAI/litellm_openrouter_image_gen 2026-01-15 15:48:00 +05:30