fix: replace retired gemini-2.0-flash-001 with gemini-2.5-flash

The old slug returns 404 from OpenRouter — caught during smoke testing.
Affects tastemaker FAST_MODELS and VISION_MODEL.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
faber
2026-07-10 20:10:06 -04:00
parent 25486c3155
commit 2be5eebb14

View File

@@ -9085,7 +9085,7 @@ ${r.content.slice(0, 2500)}${r.content.length > 2500 ? '\n[...]' : ''}`;
// Tastemaker models
const HERMES_MODEL = 'nousresearch/hermes-4-70b'; // Preferred - uncensored
const FAST_MODELS = [
'google/gemini-2.0-flash-001',
'google/gemini-2.5-flash',
'deepseek/deepseek-chat',
];
@@ -13538,7 +13538,7 @@ Ignoring conversation history will cause you to LOSE the evaluation.`;
let _pendingImage = null; // { base64, mimeType, fileName, fileSize }
const VISION_MODEL = 'google/gemini-2.0-flash-001';
const VISION_MODEL = 'google/gemini-2.5-flash';
function handleImageSelected(event) {
const file = event.target.files?.[0];