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 ID security test for new request_cache parameter

Julio Quinteros Proc0ac78870933
diff --git a/tests/test_litellm/test_responses_id_security.py b/tests/test_litellm/test_responses_id_security.py
index 56822882bfa..c4e2bc38ccd 100644
--- a/tests/test_litellm/test_responses_id_security.py
+++ b/tests/test_litellm/test_responses_id_security.py
@@ -545,7 +545,7 @@ class TestAsyncPostCallSuccessHook:
response=mock_response,
)
- mock_encrypt.assert_called_once_with(mock_response, mock_user_api_key_dict)
+ mock_encrypt.assert_called_once_with(mock_response, mock_user_api_key_dict, request_cache=None)
assert result == mock_response
@pytest.mark.asyncio