Spaces:
Sleeping
Sleeping
Ahmed Yousry
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,9 +15,9 @@ from tools.final_answer import FinalAnswerTool as FinalAnswer
|
|
| 15 |
GEMINI_API_KEY = os.environ.get('GEMINI_API_KEY')
|
| 16 |
|
| 17 |
model = LiteLLMModel(
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
)
|
| 22 |
|
| 23 |
web_search = WebSearch()
|
|
|
|
| 15 |
GEMINI_API_KEY = os.environ.get('GEMINI_API_KEY')
|
| 16 |
|
| 17 |
model = LiteLLMModel(
|
| 18 |
+
model_id='gemini/gemini-2.0-flash',
|
| 19 |
+
api_key=GEMINI_API_KEY, # Pass the key here
|
| 20 |
+
max_tokens=8192,
|
| 21 |
)
|
| 22 |
|
| 23 |
web_search = WebSearch()
|