Skip to content

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]

fix(responses): 同步上游亲和性改动

AaronHowellf843e596e7d4
diff --cc litellm/router_utils/pre_call_checks/encrypted_content_affinity_check.py
index db3c865e183,cdd70e6baf2..cb5c3089685
--- a/litellm/router_utils/pre_call_checks/encrypted_content_affinity_check.py
+++ b/litellm/router_utils/pre_call_checks/encrypted_content_affinity_check.py
@@@ -49,7 -48,10 +48,11 @@@ from litellm.exceptions import
ServiceUnavailableError,
)
from litellm.integrations.custom_logger import CustomLogger, Span
+from litellm.litellm_core_utils.credential_accessor import CredentialAccessor
+ from litellm.litellm_core_utils.prompt_templates.common_utils import (
+ encrypted_content_of_block,
+ strip_encrypted_reasoning_from_messages,
+ )
from litellm.responses.utils import ResponsesAPIRequestUtils
from litellm.router_utils.cooldown_cache import CooldownCacheValue
from litellm.types.llms.openai import AllMessageValues