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
refactor(shadow_eval): state the cap's constraint without the rationale
moe-berrida5e38ce9c1f
diff --git a/litellm/integrations/shadow_eval_logger.py b/litellm/integrations/shadow_eval_logger.pyindex 2c56ecb8721..fc82ebafe09 100644--- a/litellm/integrations/shadow_eval_logger.py+++ b/litellm/integrations/shadow_eval_logger.py@@ -60,9 +60,8 @@ _MAX_CONCURRENT_SHADOW_TASKS: Final = 16_MAX_JUDGE_RESPONSE_CHARS: Final = 8_000_MAX_JUDGE_PROMPT_CHARS: Final = 24_000-# The judge answers with a small JSON object, but the cap covers reasoning tokens too: a-# judge deployment carrying an elevated reasoning_effort spends a tight cap before it ever-# answers, and the truncated reply is recorded as an unparseable verdict.+# Covers the judge's reasoning tokens as well as its small JSON answer: a judge deployment+# carrying an elevated reasoning_effort spends a tight cap before it ever answers.JUDGE_MAX_OUTPUT_TOKENS: Final = 4096_MAX_ERROR_CHARS: Final = 500