fix(models): keep Nano Banana sync compatible with project types
This commit is contained in:
parent
3750e89ed1
commit
850f664fb1
@ -8,7 +8,7 @@ import {
|
|||||||
} from "../lib/ai/vip98k-models";
|
} from "../lib/ai/vip98k-models";
|
||||||
|
|
||||||
const MODEL_ID = "nano-banana-2.1";
|
const MODEL_ID = "nano-banana-2.1";
|
||||||
dotenv.config({ path: ".env.local", quiet: true });
|
dotenv.config({ path: ".env.local" });
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
if (!process.env.POSTGRES_URL) throw new Error("POSTGRES_URL is required");
|
if (!process.env.POSTGRES_URL) throw new Error("POSTGRES_URL is required");
|
||||||
@ -77,7 +77,7 @@ async function main() {
|
|||||||
providerId: provider.id,
|
providerId: provider.id,
|
||||||
apply: process.argv.includes("--apply"),
|
apply: process.argv.includes("--apply"),
|
||||||
exists: existing.length === 1,
|
exists: existing.length === 1,
|
||||||
sizes: capabilities.supportedImageSizes,
|
sizes: preset.capabilities.supportedImageSizes,
|
||||||
supportsReferenceImages: preset.supportsVision,
|
supportsReferenceImages: preset.supportsVision,
|
||||||
invocationPath: invocation.path,
|
invocationPath: invocation.path,
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user