From 6318c7ee3c264bedd2e92e5097fe3b513c73936d Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 10 Jul 2026 07:05:10 +0000 Subject: [PATCH] test: allow /v1/messages in supported_endpoints schema The muse-spark-1.1 model (added in #32701) declares /v1/messages in its supported_endpoints, but the JSON-schema enum in test_aaamodel_prices_and_context_window_json_is_valid was not updated, so the misc test shard fails on every PR based on litellm_internal_staging. Add /v1/messages (a first-class LiteLLM endpoint used by the Anthropic Messages surface) to the enum. Co-authored-by: Krrish Dholakia --- tests/test_litellm/test_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_litellm/test_utils.py b/tests/test_litellm/test_utils.py index 47be8cb2eec..f4ec46ba08f 100644 --- a/tests/test_litellm/test_utils.py +++ b/tests/test_litellm/test_utils.py @@ -875,6 +875,7 @@ def test_aaamodel_prices_and_context_window_json_is_valid(): "/v1/chat/completions", "/v1/completions", "/v1/images/generations", + "/v1/messages", "/v1/realtime", "/v1/realtime/transcription_sessions", "/v1/images/variations",