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
test(integration): cache the two-turn tool_search guardrail replays (#46614)
Mateo Wang22a8cd0cb793
diff --git a/tests/integration/authorization/test_tool_search_replay_guardrails.py b/tests/integration/authorization/test_tool_search_replay_guardrails.pyindex 14f647ecf94..2f0ca383201 100644--- a/tests/integration/authorization/test_tool_search_replay_guardrails.py+++ b/tests/integration/authorization/test_tool_search_replay_guardrails.py@@ -67,7 +67,12 @@ def _config(directory: Path, model: str, upstream: str, shell: str) -> Path:"router_settings": {"disable_cooldowns": True},"litellm_settings": {"cache": True,- "cache_params": {"type": "redis", "host": "os.environ/REDIS_HOST", "port": "os.environ/REDIS_PORT"},+ "cache_params": {+ "type": "redis",+ "host": "os.environ/REDIS_HOST",+ "port": "os.environ/REDIS_PORT",+ "max_messages": None,+ },},"guardrails": [{