Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
a4c19fbd
authored
Aug 26, 2024
by
Archer
Committed by
GitHub
Aug 26, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
4810 doc (#2504)
* 4810 doc * doc * feishu doc * 4811 文档
parent
ace84f01
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
62 additions
and
2 deletions
+62
-2
docSite/content/zh-cn/docs/course/feishu.md
+10
-0
docSite/content/zh-cn/docs/development/upgrading/4810.md
+24
-2
docSite/content/zh-cn/docs/development/upgrading/4811.md
+22
-0
projects/app/src/pages/api/admin/initv4810.ts
+6
-0
No files found.
docSite/content/zh-cn/docs/course/feishu.md
View file @
a4c19fbd
...
@@ -86,3 +86,12 @@ Verification Token 默认生成的这个 Token 用于校验来源。但我们使
...
@@ -86,3 +86,12 @@ Verification Token 默认生成的这个 Token 用于校验来源。但我们使
然后就可以在工作台里找到你的机器人啦。接下来就是把机器人拉进群组,或者单独与它对话。
然后就可以在工作台里找到你的机器人啦。接下来就是把机器人拉进群组,或者单独与它对话。


## FAQ
### 发送了消息,没响应
1.
检查飞书机器人回调地址、权限等是否正确。
2.
查看 FastGPT 对话日志,是否有对应的提问记录
3.
如果有记录,飞书没回应,则是没给机器人开权限。
4.
如果没记录,则可能是应用运行报错了,可以先试试最简单的机器人。(飞书机器人无法输入全局变量、文件、图片内容)
\ No newline at end of file
docSite/content/zh-cn/docs/development/upgrading/4810.md
View file @
a4c19fbd
...
@@ -11,20 +11,42 @@ weight: 814
...
@@ -11,20 +11,42 @@ weight: 814
### 1. 做好数据备份
### 1. 做好数据备份
### 2. 更新商业版环境变量
### 2. 商业版 —— 修改环境变量
1.
需要给
`fastgpt-pro`
镜像,增加沙盒的环境变量:
`SANDBOX_URL=http://xxxxx:3000`
1.
需要给
`fastgpt-pro`
镜像,增加沙盒的环境变量:
`SANDBOX_URL=http://xxxxx:3000`
2.
给
两个
镜像增加环境变量,以便更好的存储系统日志:
2.
给
`fastgpt-pro`
镜像和
`fastgpt`
镜像增加环境变量,以便更好的存储系统日志:
```
```
LOG_LEVEL=debug
LOG_LEVEL=debug
STORE_LOG_LEVEL=warn
STORE_LOG_LEVEL=warn
```
```
### 3. 修改镜像tag
-
更新 FastGPT 镜像 tag: v4.8.10-alpha
-
更新 FastGPT 商业版镜像 tag: v4.8.10-alpha
-
Sandbox 镜像,可以不更新
## 4. 执行初始化
从任意终端,发起 1 个 HTTP 请求。其中 {{rootkey}} 替换成环境变量里的
`rootkey`
;{{host}} 替换成
**FastGPT 域名**
。
```
bash
curl
--location
--request
POST
'https://{{host}}/api/admin/initv4810'
\
--header
'rootkey: {{rootkey}}'
\
--header
'Content-Type: application/json'
```
1.
初始化发布记录版本标记
2.
初始化开票记录
-------
-------
## V4.8.10 更新说明
## V4.8.10 更新说明
完整内容请见:
[
4.8.10 release
](
https://github.com/labring/FastGPT/releases/tag/v4.8.10-alpha
)
1.
新增 - 模板市场
1.
新增 - 模板市场
2.
新增 - 工作流节点拖动自动对齐吸附
2.
新增 - 工作流节点拖动自动对齐吸附
3.
新增 - 用户选择节点(Debug 模式暂未支持)
3.
新增 - 用户选择节点(Debug 模式暂未支持)
...
...
docSite/content/zh-cn/docs/development/upgrading/4811.md
0 → 100644
View file @
a4c19fbd
---
title
:
'
V4.8.11(进行中)'
description
:
'
FastGPT
V4.8.11
更新说明'
icon
:
'
upgrade'
draft
:
false
toc
:
true
weight
:
813
---
## 更新指南
### 1. 做好数据备份
-------
## V4.8.11 更新预告
1.
2.
新增 - 插件自定义输入支持单选框
3.
新增 - 插件输出,支持指定某些字段为工具调用结果
4.
新增 - 插件支持配置使用引导、全局变量和文件输入
\ No newline at end of file
projects/app/src/pages/api/admin/initv4810.ts
View file @
a4c19fbd
...
@@ -5,6 +5,8 @@ import { authCert } from '@fastgpt/service/support/permission/auth/common';
...
@@ -5,6 +5,8 @@ import { authCert } from '@fastgpt/service/support/permission/auth/common';
import
{
MongoDataset
}
from
'@fastgpt/service/core/dataset/schema'
;
import
{
MongoDataset
}
from
'@fastgpt/service/core/dataset/schema'
;
import
{
DatasetDefaultPermissionVal
}
from
'@fastgpt/global/support/permission/dataset/constant'
;
import
{
DatasetDefaultPermissionVal
}
from
'@fastgpt/global/support/permission/dataset/constant'
;
import
{
MongoAppVersion
}
from
'@fastgpt/service/core/app/version/schema'
;
import
{
MongoAppVersion
}
from
'@fastgpt/service/core/app/version/schema'
;
import
{
FastGPTProUrl
}
from
'@fastgpt/service/common/system/constants'
;
import
{
POST
}
from
'@fastgpt/service/common/api/plusRequest'
;
/* pg 中的数据搬到 mongo dataset.datas 中,并做映射 */
/* pg 中的数据搬到 mongo dataset.datas 中,并做映射 */
export
default
async
function
handler
(
req
:
NextApiRequest
,
res
:
NextApiResponse
)
{
export
default
async
function
handler
(
req
:
NextApiRequest
,
res
:
NextApiResponse
)
{
...
@@ -21,6 +23,10 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
...
@@ -21,6 +23,10 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
}
}
);
);
if
(
FastGPTProUrl
)
{
await
POST
(
'/admin/init/4810'
);
}
jsonRes
(
res
,
{
jsonRes
(
res
,
{
message
:
'success'
message
:
'success'
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment