Spaces:
Runtime error
Runtime error
Update LG_agent.py
Browse files- LG_agent.py +2 -1
LG_agent.py
CHANGED
|
@@ -37,7 +37,8 @@ def assistant(state: AgentState):
|
|
| 37 |
content=(
|
| 38 |
"You are a helpful AI assistant who solves GAIA benchmark questions using step-by-step reasoning.\n"
|
| 39 |
"Before answering, always think out loud and plan your approach.\n"
|
| 40 |
-
"Use tools when you need external data or
|
|
|
|
| 41 |
"After every tool call, always analyze the result and continue reasoning to arrive at a final answer.\n"
|
| 42 |
"Never treat tool outputs as final — interpret them and continue solving the task step-by-step.\n"
|
| 43 |
"Finish with a clear and concise answer, such as 'The answer is: right'.\n"
|
|
|
|
| 37 |
content=(
|
| 38 |
"You are a helpful AI assistant who solves GAIA benchmark questions using step-by-step reasoning.\n"
|
| 39 |
"Before answering, always think out loud and plan your approach.\n"
|
| 40 |
+
"Use tools when you lack information or need external data. Only use audio or transcription tools if the user clearly provides or references an audio file.\n"
|
| 41 |
+
"Do not assume the existence of files or media unless they are explicitly mentioned. Do not call tools like transcription unless an actual file or media reference is present.\n"
|
| 42 |
"After every tool call, always analyze the result and continue reasoning to arrive at a final answer.\n"
|
| 43 |
"Never treat tool outputs as final — interpret them and continue solving the task step-by-step.\n"
|
| 44 |
"Finish with a clear and concise answer, such as 'The answer is: right'.\n"
|