TaoZewen commited on
Commit
2d2bc43
·
1 Parent(s): d9ff605

prompt fix

Browse files
Files changed (1) hide show
  1. 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
- Begin! Remember to ALWAYS include 'Thought:', 'Action:', 'Action Input:', and 'Final Answer:' in your responses."""
 
 
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}