English | 中文
NOTE: This page is generated and translated by Cursor.
For OpenManus documentation, please refer to the official GitHub: https://github.com/mannaandpoem/OpenManus/blob/main/README.md
This version has been modified in the following aspects:
-
Added support for bing.com, making it more convenient for users in China.
-
Added automatic termination detection, which actively stops when AI does not call any tools. This is done through the addition of an EndGame Tool that allows AI to actively end the process.
See the think method in the ToolCallAgent class, which added the following code:
if "end_game" in [call.function.name for call in response.tool_calls]: logger.info(f"🏁 Special tool 'EndGame' has completed the task!") self.state = AgentState.FINISHED return False
-
Added the ability to specify which tools are available in the configuration file. For example, if you don't need Google, you can simply comment it out.
# Tool configuration [tools] # List of enabled tools # Available options: "PythonExecute", "GoogleSearch", "BrowserUseTool", "FileSaver", "Terminate", "BingSearch" tool_list = [ "PythonExecute", # "GoogleSearch", "BrowserUseTool", "FileSaver", "Terminate", "BingSearch", ]
-
Added minor debugging information.
-
Added a sandbox directory. New files can only be saved in this directory, enhancing file security.
-
Added StoryCreator tool for generating creative stories.
- Supports generating original stories based on user-provided prompts
- Can specify the genre of the story (e.g., fantasy, sci-fi, horror, etc.)
- Can control the length of the story (short, medium, long)
- Can specify writing style (e.g., descriptive, concise, poetic, etc.)
- Can specify main characters to include in the story
Story Example: Guan Yu vs Qin Qiong
PROMPT: Write a short story about Guan Yu fighting Qin Qiong, around 600 words, and save the story
Composition Example: Environmental Short Story
PROMPT (AI-generated): Please write a short story about environmental protection in a sci-fi style, with the main character being a cat that can communicate with humans.