Portfolio User commited on
Commit
86bb3cc
·
1 Parent(s): c14d316

fix: explicit model ID for Gemini 1.5 Flash

Browse files
Files changed (1) hide show
  1. agent/core.py +2 -2
agent/core.py CHANGED
@@ -12,8 +12,8 @@ class MedicalAgent:
12
 
13
  self.client = genai.Client(api_key=self.api_key)
14
 
15
- # Using Gemini 1.5 Flash (Higher free-tier limits: 1,500 requests/day)
16
- self.model_id = "gemini-1.5-flash"
17
  self.system_instruction = (
18
  "You are an advanced Medical AI Assistant. Your goal is to provide accurate, "
19
  "helpful, and empathetic medical information based on available datasets. "
 
12
 
13
  self.client = genai.Client(api_key=self.api_key)
14
 
15
+ # Using Gemini 1.5 Flash (Correct ID for google-genai library)
16
+ self.model_id = 'gemini-1.5-flash'
17
  self.system_instruction = (
18
  "You are an advanced Medical AI Assistant. Your goal is to provide accurate, "
19
  "helpful, and empathetic medical information based on available datasets. "