fix(models): keep Nano Banana sync compatible with project types
This commit is contained in:
parent
bec97aaa3d
commit
1a9b6e8184
@ -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,
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user