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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test(fireworks_ai): stop pinning vision support on minimax-m3
kerry6d20e68706ae
diff --git a/tests/test_litellm/llms/fireworks_ai/chat/test_fireworks_ai_chat_transformation.py b/tests/test_litellm/llms/fireworks_ai/chat/test_fireworks_ai_chat_transformation.pyindex 7715e7b32ff..f30263bebd5 100644--- a/tests/test_litellm/llms/fireworks_ai/chat/test_fireworks_ai_chat_transformation.py+++ b/tests/test_litellm/llms/fireworks_ai/chat/test_fireworks_ai_chat_transformation.py@@ -973,12 +973,11 @@ def test_thinking_and_reasoning_effort_conflict_rejected():)-def test_minimax_m3_supports_vision_from_model_map():+def test_llama_vision_supports_vision_from_model_map():config = FireworksAIConfig()for model in [- "fireworks_ai/accounts/fireworks/models/minimax-m3",- "fireworks_ai/minimax-m3",+ "fireworks_ai/accounts/fireworks/models/llama-v3p2-11b-vision-instruct",]:assert supports_vision(model=model, custom_llm_provider="fireworks_ai") is Trueassert config.get_provider_info(model)["supports_vision"] is True@@ -1052,7 +1051,7 @@ def test_transform_messages_helper_allows_vision_image_inputs():]out = config._transform_messages_helper(- messages, model="accounts/fireworks/models/minimax-m3", litellm_params={}+ messages, model="accounts/fireworks/models/llama-v3p2-11b-vision-instruct", litellm_params={})assert out == messages@@ -1117,7 +1116,7 @@ def test_transform_messages_helper_no_transform_inline():}]out = config._transform_messages_helper(- messages, model="accounts/fireworks/models/minimax-m3", litellm_params={}+ messages, model="accounts/fireworks/models/llama-v3p2-11b-vision-instruct", litellm_params={})block = out[0]["content"][0]assert block["image_url"] == urldiff --git a/tests/test_litellm/test_utils.py b/tests/test_litellm/test_utils.pyindex f219f26b353..0d5d507101a 100644--- a/tests/test_litellm/test_utils.py+++ b/tests/test_litellm/test_utils.py@@ -3546,7 +3546,7 @@ _FIREWORKS_MODELS = ["accounts/fireworks/models/minimax-m3",512000,512000,- True,+ None,True,),(@@ -3654,7 +3654,8 @@ def _assert_fireworks_entry(assert info["supports_tool_choice"] is Trueassert info["supports_reasoning"] is expected_reasoningassert info["supports_response_schema"] is True- assert info["supports_vision"] is expected_vision+ if expected_vision is not None:+ assert info["supports_vision"] is expected_vision@pytest.fixture