From 22782f3c3fb1b996794dded57b7587472f9c05ea Mon Sep 17 00:00:00 2001 From: Yuneng Jiang Date: Mon, 4 May 2026 17:51:50 -0700 Subject: [PATCH] [Fix] Tests: Replace deprecated openrouter/claude-3.7-sonnet with claude-sonnet-4.5 OpenRouter has dropped active endpoints for anthropic/claude-3.7-sonnet, causing test_reasoning_content_completion to fail with a 404 "No endpoints found" error. Switch to anthropic/claude-sonnet-4.5, which is current and supports reasoning streaming. --- tests/local_testing/test_streaming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/local_testing/test_streaming.py b/tests/local_testing/test_streaming.py index 7fe42ed546..b1a93c380b 100644 --- a/tests/local_testing/test_streaming.py +++ b/tests/local_testing/test_streaming.py @@ -3640,7 +3640,7 @@ def test_mock_response_iterator_tool_use(): [ # "deepseek/deepseek-reasoner", # "anthropic/claude-3-7-sonnet-20250219", - "openrouter/anthropic/claude-3.7-sonnet", + "openrouter/anthropic/claude-sonnet-4.5", ], ) def test_reasoning_content_completion(model):