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. 3942: Clear-text logging of sensitive information
Sameer Kankute16985ab2f3ea
diff --git a/litellm/utils.py b/litellm/utils.pyindex 7a1b0a34361..2ee2296ab6e 100644--- a/litellm/utils.py+++ b/litellm/utils.py@@ -915,7 +915,7 @@ def function_setup( # noqa: PLR0915# Only process if target is NOT a Gemini modelif not _is_gemini_model(model, custom_llm_provider):verbose_logger.debug(- f"Removing thought signatures from tool call IDs for non-Gemini model: {model}"+ "Removing thought signatures from tool call IDs for non-Gemini model")# Process messages to remove thought signatures