fix(ai): hardcode all default LLM references to gemini-3.1-pro-preview across monorepo
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user