fix(ai): hardcode all default LLM references to gemini-3.1-pro-preview across monorepo

This commit is contained in:
2026-05-16 15:00:17 -07:00
parent 814815af82
commit 955aeed6ce
3 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
import type { LlmClient, StructuredCallArgs } from '@/lib/ai/llm-client';
import { zodToJsonSchema } from 'zod-to-json-schema';
const DEFAULT_MODEL = process.env.GEMINI_MODEL || 'gemini-2.0-flash-exp';
const DEFAULT_MODEL = process.env.GEMINI_MODEL || 'gemini-3.1-pro-preview';
const GOOGLE_API_KEY = process.env.GOOGLE_API_KEY || '';
const GEMINI_BASE_URL = 'https://generativelanguage.googleapis.com/v1beta/models';

View File

@@ -6,14 +6,14 @@
* and auto-persist them via the same `fs_projects.data->plan` path used by
* the Plan tab MCP tools.
*
* The cheap model is configured via VIBN_CHEAP_MODEL (default: gemini-2.0-flash-001).
* The cheap model is configured via VIBN_CHEAP_MODEL (default: gemini-3.1-pro-preview).
*/
import { query } from "@/lib/db-postgres";
const GEMINI_API_KEY = process.env.GOOGLE_API_KEY || "";
const CHEAP_MODEL =
process.env.VIBN_CHEAP_MODEL || "gemini-2.0-flash-001";
process.env.VIBN_CHEAP_MODEL || "gemini-3.1-pro-preview";
const GEMINI_BASE_URL = "https://generativelanguage.googleapis.com/v1beta";
interface PlanExtraction {