prompt fix
Browse files- gemini_agent.py +3 -1
gemini_agent.py
CHANGED
|
@@ -639,7 +639,9 @@ When you have the final answer, you MUST use exactly one line with this format (
|
|
| 639 |
Thought: Do I need to use a tool? No
|
| 640 |
Final Answer: [your response here]
|
| 641 |
|
| 642 |
-
|
|
|
|
|
|
|
| 643 |
|
| 644 |
SUFFIX = """Previous conversation history:
|
| 645 |
{chat_history}
|
|
|
|
| 639 |
Thought: Do I need to use a tool? No
|
| 640 |
Final Answer: [your response here]
|
| 641 |
|
| 642 |
+
IMPORTANT: Every output MUST start with 'Thought:' and follow the above format exactly. Do NOT omit 'Thought:' at the beginning.
|
| 643 |
+
Begin!
|
| 644 |
+
"""
|
| 645 |
|
| 646 |
SUFFIX = """Previous conversation history:
|
| 647 |
{chat_history}
|