likki1715 commited on
Commit
caeb79a
·
verified ·
1 Parent(s): 4582aec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ class SmartAgent:
71
  if not self.api_key:
72
  raise ValueError("GEMINI_API_KEY environment variable not set!")
73
  # Gemini 1.5 Flash - FREE tier: 1500 requests/day, 1M tokens/min
74
- self.api_url = f"https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent?key={self.api_key}"
75
  print("SmartAgent initialized with Gemini 1.5 Flash (FREE - 1500 req/day)")
76
 
77
  def call_llm(self, prompt: str) -> str:
 
71
  if not self.api_key:
72
  raise ValueError("GEMINI_API_KEY environment variable not set!")
73
  # Gemini 1.5 Flash - FREE tier: 1500 requests/day, 1M tokens/min
74
+ self.api_url = f"https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?key={self.api_key}"
75
  print("SmartAgent initialized with Gemini 1.5 Flash (FREE - 1500 req/day)")
76
 
77
  def call_llm(self, prompt: str) -> str: