Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
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."
|