Skip to content

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

Python

Refresh image-create model mix from judged evals

Abi Rajaee4401afa825
diff --git a/.claude/launch.json b/.claude/launch.json
index ddfa81b9..2cabdd39 100644
--- a/.claude/launch.json
+++ b/.claude/launch.json
@@ -20,6 +20,7 @@
"run",
"uvicorn",
"main:app",
+ "--reload",
"--port",
"7001"
],
diff --git a/backend/routes/model_choice_sets.py b/backend/routes/model_choice_sets.py
index dc02b7aa..45cf3c0d 100644
--- a/backend/routes/model_choice_sets.py
+++ b/backend/routes/model_choice_sets.py
@@ -10,11 +10,15 @@ VIDEO_VARIANT_MODELS = (
# Image (Create)
+# Refreshed 2026-07-27 from judged evals on the jun-21 set (see the
+# "Jul 24 session" matrix): sol max is the quality anchor (8.2/10 avg),
+# opus 5 medium the best non-anchor (7.8), 3.1 pro the third take (7.2),
+# and 3-flash high the fast slot (zero failures across the set).
ALL_KEYS_MODELS_DEFAULT = (
- Llm.CLAUDE_OPUS_4_8_MEDIUM,
- Llm.GPT_5_5_LOW,
+ Llm.CLAUDE_OPUS_5_MEDIUM,
Llm.GEMINI_3_FLASH_PREVIEW_HIGH,
Llm.GEMINI_3_1_PRO_PREVIEW_HIGH,
+ Llm.GPT_5_6_SOL_MAX,
)
# Text (Create)
diff --git a/backend/tests/test_model_selection.py b/backend/tests/test_model_selection.py
index faa80bad..321ac50a 100644
--- a/backend/tests/test_model_selection.py
+++ b/backend/tests/test_model_selection.py
@@ -43,10 +43,10 @@ class TestModelSelectionAllKeys:
)
expected = [
- Llm.CLAUDE_OPUS_4_8_MEDIUM,
- Llm.GPT_5_5_LOW,
+ Llm.CLAUDE_OPUS_5_MEDIUM,
Llm.GEMINI_3_FLASH_PREVIEW_HIGH,
Llm.GEMINI_3_1_PRO_PREVIEW_HIGH,
+ Llm.GPT_5_6_SOL_MAX,
]
assert models == expected
diff --git a/frontend/src/components/sidebar/Sidebar.tsx b/frontend/src/components/sidebar/Sidebar.tsx
index 5c51b3a2..562be82d 100644
--- a/frontend/src/components/sidebar/Sidebar.tsx
+++ b/frontend/src/components/sidebar/Sidebar.tsx
@@ -66,10 +66,11 @@ function getSelectedElementTag(commit: Commit | null): string | null {
return extractTagName(html);
}
-function isSlowGeminiModel(model?: string): boolean {
+function isSlowModel(model?: string): boolean {
return (
model === CodeGenerationModel.GEMINI_3_1_PRO_PREVIEW_HIGH ||
- model === CodeGenerationModel.GEMINI_3_1_PRO_PREVIEW_MEDIUM
+ model === CodeGenerationModel.GEMINI_3_1_PRO_PREVIEW_MEDIUM ||
+ model === CodeGenerationModel.GPT_5_6_SOL_MAX
);
}
@@ -412,7 +413,7 @@ function Sidebar({
head === latestCommitHash &&
!isSelectedVariantComplete &&
!isSelectedVariantError &&
- isSlowGeminiModel(selectedVariant?.model) && (
+ isSlowModel(selectedVariant?.model) && (
<div className="mb-3 rounded-md border border-amber-200 bg-amber-50 px-3 py-2 text-xs text-amber-900 dark:border-amber-800 dark:bg-amber-900/20 dark:text-amber-200">
Slow, high quality model. May take 5-10 mins on some images/videos.
</div>
diff --git a/frontend/src/lib/models.ts b/frontend/src/lib/models.ts
index 14e6b65f..f8d678b2 100644
--- a/frontend/src/lib/models.ts
+++ b/frontend/src/lib/models.ts
@@ -53,12 +53,14 @@ export interface VariantLabelContext {
generationType: "create" | "update";
}
-// Per-model badge text. Only these models are labelled. GPT-5.5 high and
-// Gemini 3.1 Pro high are the heavyweight variants, so both read "Max".
+// Per-model badge text. Only these models are labelled. Heavyweight
+// variants read "Max" (sol max anchors image create; 3.1 Pro high anchors
+// video); Flash-minimal is the only variant fast enough to earn "Fast".
const VARIANT_LABELS: Partial<Record<CodeGenerationModel, VariantLabel>> = {
[CodeGenerationModel.GEMINI_3_FLASH_PREVIEW_MINIMAL]: { text: "Fast", tone: "fast" },
[CodeGenerationModel.GEMINI_3_1_PRO_PREVIEW_HIGH]: { text: "Max", tone: "max" },
[CodeGenerationModel.GPT_5_5_HIGH]: { text: "Max", tone: "max" },
+ [CodeGenerationModel.GPT_5_6_SOL_MAX]: { text: "Max", tone: "max" },
};
// Badges are only shown on create flows and on any video flow. In particular