litellm/litellm
Harshit28j cac041c944 Align Langfuse trace_id fallback with DB session_id for failed requests
When standard_logging_object is None (failure case), Langfuse was falling
back to litellm_call_id while the DB used litellm_trace_id as session_id.
This caused the Session ID in LiteLLM logs to not match the trace in
Langfuse. Now Langfuse checks litellm_trace_id first, matching the DB.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 20:55:31 +05:30
..
a2a_protocol
anthropic_interface
assistants
batch_completion
batches Fix: Test connect failing for bedrock batches mode 2026-02-25 15:03:27 +05:30
caching fix(caching): store background task references in LLMClientCache._remove_key to prevent unawaited coroutine warnings 2026-02-27 21:23:56 -05:00
completion_extras
containers
endpoints/speech/speech_to_completion_bridge
evals
experimental_mcp_client
files
fine_tuning
google_genai
images fix(image_generation): propagate extra_headers to OpenAI image generation 2026-02-25 01:29:06 +08:00
integrations Align Langfuse trace_id fallback with DB session_id for failed requests 2026-03-02 20:55:31 +05:30
interactions
litellm_core_utils Fix Langfuse trace_id mapping for failed logs and prioritize session_id 2026-02-28 17:22:01 +05:30
llms fix: use correct class name AmazonConverseConfig in helper method calls 2026-02-28 00:18:56 -03:00
ocr Enable local file support for OCR (#22133) 2026-02-27 10:50:02 -08:00
passthrough
proxy Merge pull request #22299 from BerriAI/litellm_health_check_tokens 2026-02-28 15:05:45 +05:30
proxy_auth
rag
realtime_api fix(realtime): fix guardrails not firing for Gemini/Vertex AI and provider_config realtime WebSocket sessions (#22168) 2026-02-26 17:06:07 -08:00
rerank_api fix(bedrock): pass timeout param to bedrock rerank http client (#22021) 2026-02-24 09:32:11 -08:00
responses [Fix] Pass MCP auth headers from request into tool fetch for /v1/responses and chat completions (#22291) 2026-02-27 19:15:51 -08:00
router_strategy
router_utils Revert "Merge pull request #21957 from jquinter/fix/flaky-rpm-limit-test" 2026-02-24 09:52:50 -03:00
search
secret_managers
skills
types fix(mcp): default available_on_public_internet to true (#22331) 2026-02-27 20:06:07 -08:00
vector_store_files
vector_stores
videos fix(ollama): thread api_base to get_model_info + graceful fallback (#21970) 2026-02-23 21:00:37 -08:00
__init__.py Add opt out varible for v1/messages to responses 2026-02-27 13:26:31 +05:30
_lazy_imports_registry.py
_lazy_imports.py
_logging.py
_redis.py
_service_logger.py
_uuid.py
_version.py
anthropic_beta_headers_config.json fix: enable context-1m-2025-08-07 beta header for vertex_ai provider (#21867) 2026-02-21 20:12:23 -08:00
anthropic_beta_headers_manager.py
blog_posts.json fix(ollama): thread api_base to get_model_info + graceful fallback (#21970) 2026-02-23 21:00:37 -08:00
budget_manager.py
constants.py perf: streaming latency improvements — 4 targeted hot-path fixes (#22346) 2026-02-27 20:45:53 -08:00
cost_calculator.py fix(ollama): thread api_base to get_model_info + graceful fallback (#21970) 2026-02-23 21:00:37 -08:00
cost.json
exceptions.py Remove nit 2026-02-26 13:44:06 -08:00
main.py fix(embeddings): allow dimensions param passthrough via allowed_openai_params for non-text-embedding-3 OpenAI models 2026-02-26 09:59:37 +05:30
model_prices_and_context_window_backup.json fix(mcp): default available_on_public_internet to true (#22331) 2026-02-27 20:06:07 -08:00
mypy.ini
policy_templates_backup.json feat(add-new-block_code_execution-guardrail): prevent agent from executing code (#22154) 2026-02-25 22:02:14 -08:00
provider_endpoints_support_backup.json fix: add 12 missing endpoint keys to _ENDPOINT_METADATA, fix stale _schema keys in backup JSON 2026-02-26 19:18:17 -08:00
py.typed
router.py Register custom pricing in litellm.model_cost 2026-02-27 10:12:03 +05:30
scheduler.py
timeout.py
utils.py Remove logger 2026-02-26 10:02:29 +05:30