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: allow callback state fixture mutation
mateo70a4f74a0d65
diff --git a/tests/test_litellm/test_router_retry_policy_update.py b/tests/test_litellm/test_router_retry_policy_update.pyindex 9e0bb0b9bef..26251290176 100644--- a/tests/test_litellm/test_router_retry_policy_update.py+++ b/tests/test_litellm/test_router_retry_policy_update.py@@ -39,7 +39,7 @@ from litellm.types.router import RetryPolicy, UpdateRouterConfigdef isolate_litellm_callbacks():callbacks_before: Final = litellm.callbacks.copy()yield- litellm.callbacks = callbacks_before+ litellm.callbacks = callbacks_before # test-quality-ok: required callback-state restoration fixture# ---------------------------------------------------------------------------