From 1a9b6e81845f5950c155ed5afa1030a15cbd5fa9 Mon Sep 17 00:00:00 2001 From: 134 Date: Mon, 12 Oct 2026 16:57:16 +0800 Subject: [PATCH] fix(models): keep Nano Banana sync compatible with project types --- scripts/sync-vip98k-nano-banana-21.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/sync-vip98k-nano-banana-21.ts b/scripts/sync-vip98k-nano-banana-21.ts index af28c28ec..24fa3f0af 100644 --- a/scripts/sync-vip98k-nano-banana-21.ts +++ b/scripts/sync-vip98k-nano-banana-21.ts @@ -8,7 +8,7 @@ import { } from "../lib/ai/vip98k-models"; const MODEL_ID = "nano-banana-2.1"; -dotenv.config({ path: ".env.local", quiet: true }); +dotenv.config({ path: ".env.local" }); async function main() { if (!process.env.POSTGRES_URL) throw new Error("POSTGRES_URL is required"); @@ -77,7 +77,7 @@ async function main() { providerId: provider.id, apply: process.argv.includes("--apply"), exists: existing.length === 1, - sizes: capabilities.supportedImageSizes, + sizes: preset.capabilities.supportedImageSizes, supportsReferenceImages: preset.supportsVision, invocationPath: invocation.path, };