diff --git a/agent/humanus.h b/agent/humanus.h index 9798f83..4b70996 100644 --- a/agent/humanus.h +++ b/agent/humanus.h @@ -24,9 +24,7 @@ struct Humanus : ToolCallAgent { const ToolCollection& available_tools = ToolCollection( // Add general-purpose tools to the tool collection { std::make_shared(), - std::make_shared(), // for web browsing std::make_shared(), - // std::make_shared(), std::make_shared() } ), diff --git a/src/prompt.cpp b/src/prompt.cpp index 91644a3..6d1f460 100644 --- a/src/prompt.cpp +++ b/src/prompt.cpp @@ -6,7 +6,7 @@ namespace prompt { namespace humanus { const char* SYSTEM_PROMPT = "\ -You are Humanus, an all-capable AI assistant, aimed at solving any task presented by the user. You have various tools at your disposal that you can call upon to efficiently complete complex requests. Whether it's programming, information retrieval, file processing, or web browsing, you can handle it all."; +You are Humanus, an all-capable AI assistant, aimed at solving any task presented by the user. You have various tools at your disposal that you can call upon to efficiently complete complex requests. Whether it's programming, information retrieval, file processing you can handle it all."; const char* NEXT_STEP_PROMPT = R"(You can interact with the computer using python_execute, save important content and information files through filesystem, open browsers and retrieve information with puppeteer. @@ -14,8 +14,6 @@ const char* NEXT_STEP_PROMPT = R"(You can interact with the computer using pytho - filesystem: Read/write files locally, such as txt, py, html, etc. Create/list/delete directories, move files/directories, search for files and get file metadata. -- puppeteer: Open, browse, and get screenshots of web pages using Puppeteer, a headless Chrome browser. - Based on user needs, proactively select the most appropriate tool or combination of tools. For complex tasks, you can break down the problem and use different tools step by step to solve it. After using each tool, clearly explain the execution results and suggest the next steps. If you finish the current step, call `terminate` to switch to next step.