rnrahate007 commited on
Commit
7e56952
·
verified ·
1 Parent(s): 9f59e6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ class GeminiReActAgent:
38
  raise ValueError("GEMINI_API_KEY not set")
39
 
40
  # Direct REST API endpoint for Gemini 2.5 Flash
41
- self.url = f"https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent?key={self.api_key}"
42
  print("Vanilla ReAct Gemini Agent initialized with rate-limit handling.")
43
 
44
  def call_gemini(self, history) -> str:
 
38
  raise ValueError("GEMINI_API_KEY not set")
39
 
40
  # Direct REST API endpoint for Gemini 2.5 Flash
41
+ self.url = f"https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-latest:generateContent?key={self.api_key}"
42
  print("Vanilla ReAct Gemini Agent initialized with rate-limit handling.")
43
 
44
  def call_gemini(self, history) -> str: