change max_iterations=20
Browse files- gemini_agent.py +2 -2
gemini_agent.py
CHANGED
|
@@ -337,7 +337,7 @@ class GeminiAgent:
|
|
| 337 |
self.agent = self._setup_agent()
|
| 338 |
|
| 339 |
# Load answer bank
|
| 340 |
-
|
| 341 |
|
| 342 |
|
| 343 |
|
|
@@ -591,7 +591,7 @@ New question: {input}
|
|
| 591 |
agent=agent,
|
| 592 |
tools=self.tools,
|
| 593 |
memory=self.memory,
|
| 594 |
-
max_iterations=
|
| 595 |
verbose=True,
|
| 596 |
handle_parsing_errors=True,
|
| 597 |
return_only_outputs=True # This ensures we only get the final output
|
|
|
|
| 337 |
self.agent = self._setup_agent()
|
| 338 |
|
| 339 |
# Load answer bank
|
| 340 |
+
self._load_answer_bank()
|
| 341 |
|
| 342 |
|
| 343 |
|
|
|
|
| 591 |
agent=agent,
|
| 592 |
tools=self.tools,
|
| 593 |
memory=self.memory,
|
| 594 |
+
max_iterations=20,
|
| 595 |
verbose=True,
|
| 596 |
handle_parsing_errors=True,
|
| 597 |
return_only_outputs=True # This ensures we only get the final output
|