The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Potential fix for code scanning alert no. 3990: Clear-text logging of sensitive information
Sameer Kankute95f98a4c521f
diff --git a/litellm/litellm_core_utils/prompt_templates/factory.py b/litellm/litellm_core_utils/prompt_templates/factory.pyindex 2f57ad9e813..c530ae7964f 100644--- a/litellm/litellm_core_utils/prompt_templates/factory.py+++ b/litellm/litellm_core_utils/prompt_templates/factory.py@@ -2145,7 +2145,7 @@ def _is_orphaned_tool_result(if not found_matching_tool_call:verbose_logger.debug(- f"_is_orphaned_tool_result: Found orphaned tool result with tool_call_id={tool_call_id}"+ "_is_orphaned_tool_result: Found orphaned tool result with redacted tool_call_id")return True