perf: wecom

This commit is contained in:
Junyan Qin
2025-01-21 10:55:52 +08:00
parent 587f90cab8
commit 14edcab190
5 changed files with 21 additions and 27 deletions
+1 -7
View File
@@ -4,7 +4,7 @@ import { defineConfig } from "vitepress";
export default defineConfig({
title: "LangBot 文档",
description:
"原名 QChatGPT;😎高稳定、🧩支持插件、🦄多模态的 LLM QQ / QQ频道 / OneBot 机器人 / Agent 平台",
"😎高稳定、🧩支持插件、🦄多模态 - 大模型原生即时通信机器人平台",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
logo: "/langbot-logo-0.5x.png",
@@ -32,11 +32,6 @@ export default defineConfig({
text: "部署 LangBot",
collapsed: true,
items: [
// { text: "一键部署",
// items: [
// { text: "宝塔面板(推荐)", link: "/deploy/langbot/one-click/bt" },
// ],
// },
{ text: "Docker部署", link: "/deploy/langbot/docker" },
{ text: "宝塔面板部署", link: "/deploy/langbot/one-click/bt" },
{ text: "手动部署", link: "/deploy/langbot/manual" },
@@ -45,7 +40,6 @@ export default defineConfig({
{
text: "连接消息平台",
collapsed: true,
// link: "/deploy/platforms/qq/",
items: [
{
text: "消息平台说明",
+9 -9
View File
@@ -36,15 +36,15 @@
]
},
{
"adapter":"wecom",
"enable":false,
"host":"0.0.0.0",
"port":5001,
"corpid":"",
"secret":"",
"token":"",
"EncodingAESKey":"",
"contacts_secret":""
"adapter": "wecom",
"enable": false,
"host": "0.0.0.0",
"port": 2290,
"corpid": "",
"secret": "",
"token": "",
"EncodingAESKey": "",
"contacts_secret": ""
}
],
```
+1 -1
View File
@@ -11,7 +11,7 @@
点击` 接收消息 `,` 设置API接收 `,开始填写接收服务器消息配置。
URL填写为` http://your_ip_address:5001/callback/command `,你的IP地址就是部署LangBot的服务器的地址。
URL填写为` http://your_ip_address:2290/callback/command `,你的IP地址就是部署LangBot的服务器的地址。
Token 和 EncodingAESKey 点击随机获取,并记录下来,之后填写配置项时会用到。
+9 -9
View File
@@ -105,15 +105,15 @@
```json
{
"adapter":"wecom",
"enable":false,
"host":"0.0.0.0",
"port":5001,
"corpid":"",
"secret":"",
"token":"",
"EncodingAESKey":"",
"contacts_secret":""
"adapter": "wecom",
"enable": false,
"host": "0.0.0.0",
"port": 2290,
"corpid": "",
"secret": "",
"token": "",
"EncodingAESKey": "",
"contacts_secret": ""
},
```
`"adapter": "wecom"`,无需改动。
+1 -1
View File
@@ -8,7 +8,7 @@ hero:
src: /langbot-logo-block.png
alt: LangBot-logo
text: ""
tagline: "原名 QChatGPT;😎高稳定、🧩支持插件、🦄多模态的 LLM QQ / QQ频道 / OneBot 机器人 / Agent 平台"
tagline: "😎高稳定、🧩支持插件、🦄多模态 - 大模型原生即时通信机器人平台"
actions:
- theme: brand
text: 查看文档