diff --git a/README.md b/README.md index 1ac9c33..209581f 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,9 @@ DEMO视频:https://cdn.link-ai.tech/doc/cow_demo.mp4
# 🏷 更新日志 + +>**2025.05.23:** [1.7.6版本](https://github.com/zhayujie/chatgpt-on-wechat/releases/tag/1.7.6) 优化web网页channel、新增[AgentMesh多智能体插件](https://github.com/zhayujie/chatgpt-on-wechat/blob/master/plugins/agent/README.md)、百度语音合成优化、企微应用access_token获取优化 + >**2025.04.11:** [1.7.5版本](https://github.com/zhayujie/chatgpt-on-wechat/releases/tag/1.7.5) 新增支持 [wechatferry](https://github.com/zhayujie/chatgpt-on-wechat/pull/2562) 协议、新增 deepseek 模型、新增支持腾讯云语音能力、新增支持 ModelScope 和 Gitee-AI API接口 >**2024.12.13:** [1.7.4版本](https://github.com/zhayujie/chatgpt-on-wechat/releases/tag/1.7.4) 新增 Gemini 2.0 模型、新增web channel、解决内存泄漏问题、解决 `#reloadp` 命令重载不生效问题 diff --git a/channel/web/web_channel.py b/channel/web/web_channel.py index 057a745..5f0929f 100644 --- a/channel/web/web_channel.py +++ b/channel/web/web_channel.py @@ -186,7 +186,15 @@ class WebChannel(ChatChannel): return f.read() def startup(self): - print("\nWeb Channel is running, please visit http://localhost:9899/chat") + logger.info("""[WebChannel] 当前channel为web,可修改 config.json 配置文件中的 channel_type 字段进行切换。全部可用类型为: + 1. web: 网页 + 2. terminal: 终端 + 3. wechatmp: 个人公众号 + 4. wechatmp_service: 企业公众号 + 5. wechatcom_app: 企微自建应用 + 6. dingtalk: 钉钉 + 7. feishu: 飞书""") + logger.info("Web对话网页已运行, 请使用浏览器访问 http://localhost:9899/chat") # 确保静态文件目录存在 static_dir = os.path.join(os.path.dirname(__file__), 'static') diff --git a/plugins/agent/README.md b/plugins/agent/README.md index 2c04316..26454b0 100644 --- a/plugins/agent/README.md +++ b/plugins/agent/README.md @@ -60,7 +60,7 @@ $agent use software_team 帮我写一个产品预约体验的表单页面 - `calculator`: 数学计算工具 - `current_time`: 获取当前时间 -- `browser`: 浏览器操作工具,注意需安装额外依赖 -- `google_search`: 搜索引擎,注意需在`config.yaml`中配置api_key -- `file_save`: 文件保存工具 +- `browser`: 浏览器操作工具,注意需安装`browser-use`依赖 +- `google_search`: 搜索引擎,注意需在`config.yaml`中配置 `api_key` +- `file_save`: 文件保存工具,开启后智能体输出的内容将保存在 `workspace` 目录下 - `terminal`: 终端命令执行工具 diff --git a/plugins/agent/config-template.yaml b/plugins/agent/config-template.yaml index 7c30b92..db0e69b 100644 --- a/plugins/agent/config-template.yaml +++ b/plugins/agent/config-template.yaml @@ -6,8 +6,9 @@ tools: # get your apikey from https://serper.dev/ api_key: "YOUR API KEY" -# Team config +# Agent Team 配置 teams: + # 通用智能体团队 general_team: model: "gpt-4.1-mini" # 团队使用的模型 description: "A versatile research and information agent team" @@ -24,6 +25,7 @@ teams: - browser - terminal + # 软件开发智能体团队 software_team: model: "gpt-4.1-mini" description: "A software development team with product manager, developer and tester." diff --git a/requirements.txt b/requirements.txt index 06f285a..8f58707 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,4 +8,4 @@ Pillow pre-commit web.py linkai>=0.0.6.0 -agentmesh-sdk>=0.1.2 +agentmesh-sdk>=0.1.3