OpenManus学习记录

基础 OpenManus是Manus的一套开源实现。 Hello, Manus 模型配置, 在目录config下面复制config.example.toml改名为config.toml, 然后更新模型配置信息。以使用qwen模型为例: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 # Global LLM configuration [llm] model = "qwq-plus" # The LLM model to use base_url = "https://dashscope.aliyuncs.com/compatible-mode/v1" # API endpoint URL api_key = "sk-xxxxx" # Your API key max_tokens = 8192 # Maximum number of tokens in the response temperature = 0.0 # Controls randomness # Optional configuration for specific LLM models [llm.vision] model = "qwen-vl-max" # The vision model to use base_url = "https://dashscope.aliyuncs.com/compatible-mode/v1" # API endpoint URL for vision model api_key = "sk-xxxx" # Your API key for vision model max_tokens = 8192 # Maximum number of tokens in the response temperature = 0.0 # Controls randomness for vision model 结合MCP OpenManus MCP 架构设计 MCP 主机及客户端(MCPAgent) OpenManus 中 MCP 主机及客户端相关的实现位于app/agent/mcp_agent.py和app/tool/mcp.py ...

April 1, 2025 · 595 words · compasty