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
feat: add X_LITELLM_DISABLE_PROMPTS_IN_SPEND_LOGS
Ishaan Jafferc26b1f1a1c6e
diff --git a/litellm/constants.py b/litellm/constants.pyindex 9b44613b855..051fccddcc7 100644--- a/litellm/constants.py+++ b/litellm/constants.py@@ -909,6 +909,7 @@ MAXIMUM_TRACEBACK_LINES_TO_LOG = int(os.getenv("MAXIMUM_TRACEBACK_LINES_TO_LOG",# Headers to control callbacksX_LITELLM_DISABLE_CALLBACKS = "x-litellm-disable-callbacks"+X_LITELLM_DISABLE_PROMPTS_IN_SPEND_LOGS = "x-litellm-disable-prompts-in-spend-logs"LITELLM_METADATA_FIELD = "litellm_metadata"OLD_LITELLM_METADATA_FIELD = "metadata"LITELLM_TRUNCATED_PAYLOAD_FIELD = "litellm_truncated"