Skip to content

Commit d44faf1

Browse files
committed
fix: remove process.env usage in gemini provider
1 parent f398eaa commit d44faf1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

backend/src/ai/providers/gemini.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import { GoogleGenAI } from "@google/genai";
22

3-
import { env } from "process";
43
import { getAIGatewayUrl } from "../utils/ai-gateway";
54

65
// Extended Env to include Gemini secrets and optional model config
76
type GeminiEnv = Env;
87

98
// Default Configuration
10-
export const DEFAULT_GEMINI_MODEL = env.GEMINI_MODEL || "gemini-2.5-pro";
9+
export const DEFAULT_GEMINI_MODEL = "gemini-2.5-pro";
1110

1211
/**
1312
* Initialize Gemini Client using Cloudflare AI Gateway

0 commit comments

Comments
 (0)