SergeyO7 commited on
Commit
8f70d65
·
verified ·
1 Parent(s): 50569b9

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +2 -1
agent.py CHANGED
@@ -23,6 +23,7 @@ import whisper
23
  # """
24
  # cse_id = os.environ.get("GOOGLE_CSE_ID")
25
  # if not api_key or not cse_id:
 
26
  # raise ValueError("GOOGLE_API_KEY and GOOGLE_CSE_ID must be set in environment variables.")
27
  # url = "https://www.googleapis.com/customsearch/v1"
28
  # params = {
@@ -173,7 +174,7 @@ class MagAgent:
173
  self.rate_limiter = rate_limiter
174
  print("Initializing MagAgent with search tools...")
175
  model = LiteLLMModel(
176
- model_id="gemini/gemini-2.0-flash-lite",
177
  api_key= os.environ.get("GEMINI_KEY"),
178
  max_tokens=8192
179
  )
 
23
  # """
24
  # cse_id = os.environ.get("GOOGLE_CSE_ID")
25
  # if not api_key or not cse_id:
26
+
27
  # raise ValueError("GOOGLE_API_KEY and GOOGLE_CSE_ID must be set in environment variables.")
28
  # url = "https://www.googleapis.com/customsearch/v1"
29
  # params = {
 
174
  self.rate_limiter = rate_limiter
175
  print("Initializing MagAgent with search tools...")
176
  model = LiteLLMModel(
177
+ model_id="gemini/gemini-2.0-flash",
178
  api_key= os.environ.get("GEMINI_KEY"),
179
  max_tokens=8192
180
  )