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
fix silent skip prompt id
Harshit Jain82f9ad106121
diff --git a/litellm/proxy/utils.py b/litellm/proxy/utils.pyindex a5b1df4ab5b..42d46c66731 100644--- a/litellm/proxy/utils.py+++ b/litellm/proxy/utils.py@@ -1081,7 +1081,7 @@ class ProxyLogging:prompt_spec = IN_MEMORY_PROMPT_REGISTRY.get_prompt_by_id(lookup_prompt_id)litellm_prompt_id: Optional[str] = Noneif prompt_spec is not None:- litellm_prompt_id = prompt_spec.litellm_params.prompt_id+ litellm_prompt_id = prompt_spec.litellm_params.prompt_id or prompt_iddata.pop("prompt_id", None)if custom_logger and prompt_spec is not None: