From 247cd178296e9ba7fc752d3d05dc1c56342333a0 Mon Sep 17 00:00:00 2001 From: shrimbly Date: Wed, 11 Mar 2026 08:46:47 +1300 Subject: [PATCH] fix: remove `|| true` debug leftover from hasExternalProviders The `|| true` was forcing external providers to always appear available, bypassing the actual API key check. Co-Authored-By: Claude Opus 4.6 --- src/components/nodes/ControlPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/nodes/ControlPanel.tsx b/src/components/nodes/ControlPanel.tsx index 9b066f6d..8810f0d6 100644 --- a/src/components/nodes/ControlPanel.tsx +++ b/src/components/nodes/ControlPanel.tsx @@ -379,7 +379,7 @@ function GenerateImageControls({ node }: { node: Node }) { const supportsResolution = currentModelId === "nano-banana-pro" || currentModelId === "nano-banana-2"; const aspectRatios = currentModelId === "nano-banana-2" ? EXTENDED_ASPECT_RATIOS : BASE_ASPECT_RATIOS; const resolutions = currentModelId === "nano-banana-2" ? RESOLUTIONS_NB2 : RESOLUTIONS_PRO; - const hasExternalProviders = !!(replicateEnabled && replicateApiKey) || true; + const hasExternalProviders = !!(replicateEnabled && replicateApiKey); return ( <>