wechat publish (#6607)

* wechat publish

* update test

* doc
This commit is contained in:
Archer
2026-03-23 11:57:05 +08:00
committed by GitHub
parent c84c45398a
commit c37b3aa0e8
56 changed files with 2303 additions and 139 deletions
@@ -36,10 +36,11 @@ CODE_SANDBOX_TOKEN=代码运行沙盒的凭证(可以为空,4.14.8 新增加
## 🚀 新增内容
1. 新增 AI 虚拟机功能,可以给 AI 挂载一个虚拟机工具进行更丰富的操作。(目前仅云服务开放使用,下个版本会推出轻量部署方案)
2. AgentV2 上下文适配暂停态
3. 封装 logger sdk。增加 Metrics 追踪
4. 更新知识库单个数据时,同步更新 collection 更新时间
5. 表单输入文件时,支持打开文件进行预览
2. 发布渠道支持微信个人号
3. AgentV2 上下文适配暂停态
4. 封装 logger sdk。增加 Metrics 追踪
5. 更新知识库单个数据时,同步更新 collection 更新时间
6. 表单输入文件时,支持打开文件进行预览。
## ⚙️ 优化
+1
View File
@@ -205,4 +205,5 @@ description: FastGPT Toc
- [/en/docs/use-cases/external-integration/feishu](/en/docs/use-cases/external-integration/feishu)
- [/en/docs/use-cases/external-integration/official_account](/en/docs/use-cases/external-integration/official_account)
- [/en/docs/use-cases/external-integration/openapi](/en/docs/use-cases/external-integration/openapi)
- [/en/docs/use-cases/external-integration/wechat](/en/docs/use-cases/external-integration/wechat)
- [/en/docs/use-cases/external-integration/wecom](/en/docs/use-cases/external-integration/wecom)
+1
View File
@@ -205,4 +205,5 @@ description: FastGPT 文档目录
- [/docs/use-cases/external-integration/feishu](/docs/use-cases/external-integration/feishu)
- [/docs/use-cases/external-integration/official_account](/docs/use-cases/external-integration/official_account)
- [/docs/use-cases/external-integration/openapi](/docs/use-cases/external-integration/openapi)
- [/docs/use-cases/external-integration/wechat](/docs/use-cases/external-integration/wechat)
- [/docs/use-cases/external-integration/wecom](/docs/use-cases/external-integration/wecom)
@@ -1,11 +1,5 @@
{
"title": "External FastGPT Integration",
"description": "Tutorial on external applications calling FastGPT features through various methods",
"pages": [
"openapi",
"feishu",
"dingtalk",
"wecom",
"official_account"
]
"pages": ["openapi", "wechat", "feishu", "dingtalk", "wecom", "official_account"]
}
@@ -1,5 +1,5 @@
{
"title": "外部调用 FastGPT",
"description": "外部应用通过多种方式调用 FastGPT 功能的教程",
"pages": ["openapi", "feishu", "dingtalk", "wecom", "official_account"]
"pages": ["openapi", "wechat", "feishu", "dingtalk", "wecom", "official_account"]
}
@@ -0,0 +1,36 @@
---
title: WeChat Personal Account Integration
description: How to integrate FastGPT with a WeChat personal account
---
## 1. Create a Publishing Channel
Open your FastGPT Agent, click the tab at the top to switch to **Publishing Channels**, select **WeChat Personal Account**, and click **Create**.
![alt text](../../../../public/imgs/image-3.png)
You can fill in the form fields as needed.
## 2. Scan QR Code to Log In
After creating the channel, a new entry will appear. For the first time, you need to scan a QR code to log in. Click **Scan QR Code to Log In** to display the login QR code.
![alt text](../../../../public/imgs/image-4.png)
![alt text](../../../../public/imgs/image-17.png)
## 3. Start Chatting
Once connected via QR code, a **WeChat ClawBot** will appear in your contacts list.
![alt text](../../../../public/imgs/image-25.png)
Click to open the conversation and start chatting!
![alt text](../../../../public/imgs/image-26.png)
## FAQ
### How to Reset a Chat
Type `Reset` or `/reset` in the input field to clear the chat history.
@@ -0,0 +1,43 @@
---
title: 接入微信个人号教程
description: FastGPT 接入微信个人号教程
---
## 1. 新建发布渠道
进入 FastGPT 搭建好的 Agent,点击顶部的 tab 切换到发布渠道,并选择`微信个人号`,点击新建。
![alt text](../../../../public/imgs/image-3.png)
表单内容随便填写即可。
## 2. 扫码登录
确认创建渠道后,会多出一条记录,首次需要扫码登录,点击扫码登录,即可跳出登录二维码。
![alt text](../../../../public/imgs/image-4.png)
![alt text](../../../../public/imgs/image-17.png)
## 3. 愉快玩耍
扫码连接后,好友列表就会多出一个`微信 ClawBot`的机器人可使用。
![alt text](../../../../public/imgs/image-25.png)
点击进入后,即可开始聊天啦!
![alt text](../../../../public/imgs/image-26.png)
## FAQ
### 微信没找到入口
目前仅支持 IOS 系统,并且需要升级最新版本微信。
### 如何重置聊天
输入框输入:`Reset`或者`/reset` 即可重置聊天记录。