From 581ec8a71d3aa39429d22c8c31370e4c485ad893 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Wed, 19 Aug 2026 03:17:29 -0700 Subject: [PATCH] fix(image-gen): FAL grok-imagine-image-2.0 upscale is opt-in per Aug 2026 policy The #87465 catalog entry predated the opt-in-only upscale policy (f06c41522) and its stale-base CI never ran the policy test, so main went red on test_upscale_defaults_are_all_off after merge. --- tools/image_generation_tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/image_generation_tool.py b/tools/image_generation_tool.py index daab670c36a4..c486491b4e97 100644 --- a/tools/image_generation_tool.py +++ b/tools/image_generation_tool.py @@ -685,7 +685,7 @@ def _load_fal_client() -> Any: "prompt", "aspect_ratio", "num_images", "output_format", "resolution", "quality", "sync_mode", }, - "upscale": True, # 1k native is sub-2MP + "upscale": False, # opt-in only (Aug 2026 policy); 1k native is sub-2MP # Edit endpoint takes `image_urls` (max 3) + the same knobs; # aspect_ratio defaults to "auto" (follows the first input image), # so we don't send it on edits.