Spaces:
Runtime error
Runtime error
Update langgraph_agent.py
Browse files- langgraph_agent.py +2 -2
langgraph_agent.py
CHANGED
|
@@ -87,9 +87,9 @@ def prompt(state: AgentState, config: RunnableConfig) -> list[AnyMessage]:
|
|
| 87 |
file_path = config["configurable"].get("file_path", "")
|
| 88 |
system_msg = (
|
| 89 |
f"You are an AI assistant evaluated on the GAIA benchmark. "
|
| 90 |
-
|
| 91 |
f"Use the available tools to find answers when needed. "
|
| 92 |
-
|
| 93 |
f"Provide only the direct answer, with no extra explanation, formatting, or restating the question. "
|
| 94 |
f"For example, if asked 'What is the capital of France?', answer 'Paris'. "
|
| 95 |
)
|
|
|
|
| 87 |
file_path = config["configurable"].get("file_path", "")
|
| 88 |
system_msg = (
|
| 89 |
f"You are an AI assistant evaluated on the GAIA benchmark. "
|
| 90 |
+
# f"Answer questions using only verified information. "
|
| 91 |
f"Use the available tools to find answers when needed. "
|
| 92 |
+
# f"If you do not have enough information, reply: 'I do not have enough information to answer the question.' "
|
| 93 |
f"Provide only the direct answer, with no extra explanation, formatting, or restating the question. "
|
| 94 |
f"For example, if asked 'What is the capital of France?', answer 'Paris'. "
|
| 95 |
)
|