From 16985ab2f3ea021383cbee4e0e64ae8e9c3be2a1 Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Tue, 23 Dec 2025 17:13:48 +0530 Subject: [PATCH] Potential fix for code scanning alert no. 3942: Clear-text logging of sensitive information Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- litellm/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/utils.py b/litellm/utils.py index 7a1b0a3436..2ee2296ab6 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 model if 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