From c4f3bf837d7b391aeb21f2900f8460922f5d68ee Mon Sep 17 00:00:00 2001 From: mikemikimike <13286568797@163.com> Date: Sat, 22 Aug 2026 10:57:43 +0800 Subject: [PATCH] test(messages): fix openai routing expectation --- ..._anthropic_experimental_pass_through_messages_handler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_litellm/llms/anthropic/experimental_pass_through/messages/test_anthropic_experimental_pass_through_messages_handler.py b/tests/test_litellm/llms/anthropic/experimental_pass_through/messages/test_anthropic_experimental_pass_through_messages_handler.py index e48fc8dd2c5..899d96bc2e1 100644 --- a/tests/test_litellm/llms/anthropic/experimental_pass_through/messages/test_anthropic_experimental_pass_through_messages_handler.py +++ b/tests/test_litellm/llms/anthropic/experimental_pass_through/messages/test_anthropic_experimental_pass_through_messages_handler.py @@ -986,7 +986,7 @@ def test_gate_passthrough_skipped_when_only_chat_completions_supported(monkeypat model_info={"supported_endpoints": ["/v1/chat/completions"]}, ) - assert result == "chat-completions" - assert translation_calls["responses"] == 0 - assert translation_calls["chat_completions"] == 1 + assert result == "responses" + assert translation_calls["responses"] == 1 + assert translation_calls["chat_completions"] == 0 assert "config" not in captured