You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
"agent_description": "Read or write content from/to a file, or generate and save an image using text input",
34
27
"parameter_description": "The task description detailing what to read, write, or generate. This can include file operations or image generation requests."
"tool_names": ["read_file", "write_to_file", "generate_and_download_image"], # Changed from "write_file" to "write_to_file"
35
29
"agent_description": "Read or write content from/to a file, or generate and save an image using text input",
36
30
"parameter_description": "The task description detailing what to read, write, or generate. This can include file operations or image generation requests."
@@ -40,15 +34,7 @@ def main():
40
34
"name": "db_retrieval_agent",
41
35
"type": "atomic",
42
36
"agent_class": "FunctionCallingAgent",
43
-
"meta_data":
44
-
{
45
-
"meta_task_id": meta_task_id,
46
-
"task_id": task_id,
47
-
"save_to": "csv",
48
-
"log": "log",
49
-
"model_name": "gpt-4o-mini",
50
-
"tool_choice": "auto"
51
-
},
37
+
"meta_data": {},
52
38
"tool_names": ["retrieve_db"], # Changed from "write_file" to "write_to_file"
53
39
"agent_description": "Use a database retrieval agent to fetch information based on a given query.",
54
40
"parameter_description": "The query to be processed by the database retrieval agent."
@@ -58,15 +44,7 @@ def main():
58
44
"name": "file_retrieval_agent",
59
45
"type": "atomic",
60
46
"agent_class": "FunctionCallingAgent",
61
-
"meta_data":
62
-
{
63
-
"meta_task_id": meta_task_id,
64
-
"task_id": task_id,
65
-
"save_to": "csv",
66
-
"log": "log",
67
-
"model_name": "gpt-4o-mini",
68
-
"tool_choice": "auto"
69
-
},
47
+
"meta_data": {},
70
48
"tool_names": ["retrieve_file"], # Changed from "write_file" to "write_to_file"
71
49
"agent_description": "Retrieve information from local documents to answer questions or perform tasks.",
72
50
"parameter_description": "The task description specifying the local file and the question to be answered. specify this in natural language"
@@ -76,15 +54,7 @@ def main():
76
54
"name": "web_retrieval_agent",
77
55
"type": "atomic",
78
56
"agent_class": "FunctionCallingAgent",
79
-
"meta_data":
80
-
{
81
-
"meta_task_id": meta_task_id,
82
-
"task_id": task_id,
83
-
"save_to": "csv",
84
-
"log": "log",
85
-
"model_name": "gpt-4o-mini",
86
-
"tool_choice": "auto"
87
-
},
57
+
"meta_data": {},
88
58
"tool_names": ["bing_search", "scrape"], # Changed from "write_file" to "write_to_file"
89
59
"agent_description": "Perform a search using API and return the searched results.",
90
60
"parameter_description": "The task description describing what to read or write."
@@ -94,15 +64,7 @@ def main():
94
64
"name": "exec_agent",
95
65
"type": "atomic",
96
66
"agent_class": "FunctionCallingAgent",
97
-
"meta_data":
98
-
{
99
-
"meta_task_id": meta_task_id,
100
-
"task_id": task_id,
101
-
"save_to": "csv",
102
-
"log": "log",
103
-
"model_name": "gpt-4o-mini",
104
-
"tool_choice": "auto"
105
-
},
67
+
"meta_data": {},
106
68
"tool_names": ["execute_shell_command", "run_python_script"], # Changed from "write_file" to "write_to_file"
107
69
"agent_description": "Execute some script in a subprocess, either run a bash script, or run a python script ",
108
70
"parameter_description": "The task description describing what to execute in the subprocess."
task="generate a image of a ginger cat and save it as ginger_cat.png"
161
-
result=main_agent.execute(task)
114
+
result=agent_system.execute(task)
162
115
print("IO Agent Result:", result)
163
116
164
117
task="write python script to calculate the sum from 1 to 10, and run the python script to get result"
165
-
result=main_agent.execute(task)
166
-
print("IO Agent Result:", result)
118
+
result=agent_system.execute(task)
119
+
print("Exec Agent Result:", result)
167
120
168
121
task="browse web to search and check the brands of dining table, and summarize the results in a table, save the table into a markdown file called summary.md"
0 commit comments