taha454 commited on
Commit
ab6c841
·
verified ·
1 Parent(s): 9adc62a

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -0
agent.py CHANGED
@@ -186,6 +186,7 @@ def get_answer(state: InfoState) -> InfoState :
186
  f"Context:\n{state.get('tool_answer')}\n\n"
187
  "Instructions:\n"
188
  "- Focus on producing one short factual answer.\n"
 
189
  "- Do not include tool names, prefixes, or metadata.\n"
190
  "- If the context contains partial hints, you can infer the answer from general knowledge of the same topic.\n"
191
  "- If the question asks about an attached file or audio, reply briefly that you cannot access attachments or audio files."
 
186
  f"Context:\n{state.get('tool_answer')}\n\n"
187
  "Instructions:\n"
188
  "- Focus on producing one short factual answer.\n"
189
+ "- You Should think enough at first before giving final answer. \n"
190
  "- Do not include tool names, prefixes, or metadata.\n"
191
  "- If the context contains partial hints, you can infer the answer from general knowledge of the same topic.\n"
192
  "- If the question asks about an attached file or audio, reply briefly that you cannot access attachments or audio files."