The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(vision): keep two invariant aggregator-veto tests (tool-result downgrade + fast-path veto)
teknium1d94f13fe35d8
diff --git a/tests/agent/test_vision_tool_messages.py b/tests/agent/test_vision_tool_messages.pyindex 0d95a1f06ad..cd4c1aaa86e 100644--- a/tests/agent/test_vision_tool_messages.py+++ b/tests/agent/test_vision_tool_messages.py@@ -67,16 +67,6 @@ class TestProviderSupportsVisionToolMessages:agent = _make_agent("xiaomi", "mimo-v2.5")assert agent._provider_supports_vision_tool_messages() is False- def test_openrouter_xiaomi_route_returns_false(self):- """An aggregator must retain its routed model's tool-message veto."""- agent = _make_agent("openrouter", "xiaomi/mimo-v2.5")- assert agent._provider_supports_vision_tool_messages() is False------# ---------------------------------------------------------------------------# _tool_result_content_for_active_model — proactive downgradediff --git a/tests/tools/test_vision_native_fast_path.py b/tests/tools/test_vision_native_fast_path.pyindex a6c675836f0..aa856005114 100644--- a/tests/tools/test_vision_native_fast_path.py+++ b/tests/tools/test_vision_native_fast_path.py@@ -96,10 +96,6 @@ class TestSupportsMediaInToolResults:tool-result content, #89981)."""assert _supports_media_in_tool_results("xiaomi", "mimo-v2.5") is False- def test_openrouter_xiaomi_route_keeps_profile_tool_message_veto(self):- """The OpenRouter transport must not re-open Xiaomi's unsafe fast path."""- assert _supports_media_in_tool_results("openrouter", "xiaomi/mimo-v2.5") is False-def test_profile_veto_applies_even_when_vision_capable_lookup_agrees(self):"""A capability source marking the model vision-capable must notre-open the native fast path for a provider that rejects it."""