Update agent.py
Browse files
agent.py
CHANGED
@@ -90,9 +90,6 @@ llm = OpenAI(model="gpt-4")
|
|
90 |
agent = FunctionCallingAgent.from_tools(
|
91 |
tools=TOOLS,
|
92 |
llm=llm,
|
93 |
-
system_prompt=""""""
|
94 |
-
)
|
95 |
-
|
96 |
system_prompt="""
|
97 |
You are a highly capable AI agent taking the GAIA benchmark test.
|
98 |
|
@@ -109,9 +106,6 @@ Rules:
|
|
109 |
3. Do not guess. If a tool fails, say \"Tool not available\".
|
110 |
4. Follow formats strictly: comma-separated lists, numeric values, chess notation, names only, etc.
|
111 |
5. Avoid all explanation unless requested.
|
112 |
-
"""
|
113 |
-
|
114 |
-
tools=TOOLS,
|
115 |
-
llm=llm,
|
116 |
-
verbose=True,
|
117 |
|
|
|
90 |
agent = FunctionCallingAgent.from_tools(
|
91 |
tools=TOOLS,
|
92 |
llm=llm,
|
|
|
|
|
|
|
93 |
system_prompt="""
|
94 |
You are a highly capable AI agent taking the GAIA benchmark test.
|
95 |
|
|
|
106 |
3. Do not guess. If a tool fails, say \"Tool not available\".
|
107 |
4. Follow formats strictly: comma-separated lists, numeric values, chess notation, names only, etc.
|
108 |
5. Avoid all explanation unless requested.
|
109 |
+
"""
|
110 |
+
)
|
|
|
|
|
|
|
111 |
|