Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,9 +33,7 @@ class BasicAgent:
|
|
| 33 |
self.system_prompt = (
|
| 34 |
"You are a helpful AI assistant completing GAIA benchmark tasks.\n"
|
| 35 |
"You MUST use the tools provided when needed.\n"
|
| 36 |
-
"If you already have enough information, respond directly
|
| 37 |
-
"<answer>\n"
|
| 38 |
-
"Once you output <answer>, stop reasoning and do not call any tool.\n"
|
| 39 |
)
|
| 40 |
self.llm = OpenAI(model="gpt-4o", temperature=0.1, api_key=OpenAI_key)
|
| 41 |
# self.system_prompt = (
|
|
|
|
| 33 |
self.system_prompt = (
|
| 34 |
"You are a helpful AI assistant completing GAIA benchmark tasks.\n"
|
| 35 |
"You MUST use the tools provided when needed.\n"
|
| 36 |
+
"If you already have enough information, respond directly and stop reasoning and do not call any tool.:\n"
|
|
|
|
|
|
|
| 37 |
)
|
| 38 |
self.llm = OpenAI(model="gpt-4o", temperature=0.1, api_key=OpenAI_key)
|
| 39 |
# self.system_prompt = (
|