gemini flash
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ class NativeGeminiAgent:
|
|
| 18 |
genai.configure(api_key=gemini_api_key)
|
| 19 |
|
| 20 |
self.api_url = api_url
|
| 21 |
-
self.model_name = 'gemini-2.5-
|
| 22 |
|
| 23 |
# Correct tool configuration using the recommended string-based method
|
| 24 |
self.model = genai.GenerativeModel(
|
|
|
|
| 18 |
genai.configure(api_key=gemini_api_key)
|
| 19 |
|
| 20 |
self.api_url = api_url
|
| 21 |
+
self.model_name = 'gemini-2.5-flash-preview-05-20' # Using the stable, powerful model
|
| 22 |
|
| 23 |
# Correct tool configuration using the recommended string-based method
|
| 24 |
self.model = genai.GenerativeModel(
|