diff --git a/tests/test_integration.py b/tests/test_integration.py index faa4e00..0a6fc64 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -25,7 +25,7 @@ async def test_minimax_request_routed_correctly(self): """A request with /minimax/ prefix should be routed to api.minimax.io.""" body = json.dumps( { - "model": "MiniMax-M2.5", + "model": "MiniMax-M3", "messages": [{"role": "user", "content": "hello"}], } ).encode() @@ -41,7 +41,7 @@ async def test_minimax_request_routed_correctly(self): self.proxy._process_request(body, cleaned, provider) assert len(self.events) == 1 assert self.events[0]["provider"] == "minimax" - assert self.events[0]["model"] == "MiniMax-M2.5" + assert self.events[0]["model"] == "MiniMax-M3" @pytest.mark.asyncio async def test_openai_not_affected_by_minimax(self): diff --git a/tests/test_proxy.py b/tests/test_proxy.py index 24f8e84..bcc12b3 100644 --- a/tests/test_proxy.py +++ b/tests/test_proxy.py @@ -100,7 +100,7 @@ def setup_method(self): def test_minimax_request_parsed_as_openai_compat(self): body = { - "model": "MiniMax-M2.5", + "model": "MiniMax-M3", "messages": [ {"role": "user", "content": "Hello MiniMax"}, ], @@ -112,7 +112,7 @@ def test_minimax_request_parsed_as_openai_compat(self): ) assert len(self.events) == 1 assert self.events[0]["provider"] == "minimax" - assert self.events[0]["model"] == "MiniMax-M2.5" + assert self.events[0]["model"] == "MiniMax-M3" assert self.events[0]["tokens"] > 0 def test_minimax_multimodal_content(self): @@ -137,7 +137,7 @@ def test_minimax_multimodal_content(self): def test_minimax_system_message(self): body = { - "model": "MiniMax-M2.5", + "model": "MiniMax-M3", "messages": [ {"role": "system", "content": "You are helpful"}, {"role": "user", "content": "Hi"}, @@ -155,7 +155,7 @@ def test_minimax_system_message(self): def test_minimax_no_callback_no_error(self): proxy = ProxyServer(port=9999, on_request=None) - body = {"model": "MiniMax-M2.5", "messages": []} + body = {"model": "MiniMax-M3", "messages": []} # Should not raise proxy._process_request( json.dumps(body).encode(),