Update app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,7 @@ def generate(input_text):
|
|
| 79 |
yield f"Error initializing client: {e}. Make sure GEMINI_API_KEY is set.", input_text
|
| 80 |
return
|
| 81 |
|
| 82 |
-
model = "gemini-2.0-flash-
|
| 83 |
|
| 84 |
# Configure tools (Google Search + Our Custom DB Tool)
|
| 85 |
tools = [
|
|
|
|
| 79 |
yield f"Error initializing client: {e}. Make sure GEMINI_API_KEY is set.", input_text
|
| 80 |
return
|
| 81 |
|
| 82 |
+
model = "gemini-2.0-flash-latest" # Ensure you use a model version that supports tools
|
| 83 |
|
| 84 |
# Configure tools (Google Search + Our Custom DB Tool)
|
| 85 |
tools = [
|