Skip to content

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Python

Update test_model_selection.py

Abi Raja1aeb50785eba
diff --git a/backend/tests/test_model_selection.py b/backend/tests/test_model_selection.py
index 5dfbb73e..620ea20a 100644
--- a/backend/tests/test_model_selection.py
+++ b/backend/tests/test_model_selection.py
@@ -66,7 +66,7 @@ class TestModelSelectionAllKeys:
assert models == expected
@pytest.mark.asyncio
- async def test_video_create_prefers_gemini_minimal_then_low(self):
+ async def test_video_create_prefers_gemini_minimal_then_3_1_high(self):
"""Video create always uses two Gemini variants in fixed order."""
models = await self.model_selector.select_models(
generation_type="create",
@@ -78,12 +78,12 @@ class TestModelSelectionAllKeys:
expected = [
Llm.GEMINI_3_FLASH_PREVIEW_MINIMAL,
- Llm.GEMINI_3_PRO_PREVIEW_LOW,
+ Llm.GEMINI_3_1_PRO_PREVIEW_HIGH,
]
assert models == expected
@pytest.mark.asyncio
- async def test_video_update_prefers_gemini_minimal_then_low(self):
+ async def test_video_update_prefers_gemini_minimal_then_3_1_high(self):
"""Video update always uses the same two Gemini variants as video create."""
models = await self.model_selector.select_models(
generation_type="update",
@@ -95,7 +95,7 @@ class TestModelSelectionAllKeys:
expected = [
Llm.GEMINI_3_FLASH_PREVIEW_MINIMAL,
- Llm.GEMINI_3_PRO_PREVIEW_LOW,
+ Llm.GEMINI_3_1_PRO_PREVIEW_HIGH,
]
assert models == expected