Skip to content

Commit a83ae8e

Browse files
c121914yudaishenglinewfish-cmyk
authored
4.13.1 features (#5728)
* fix(api): 修复二级路由下的页面判断逻辑 在请求错误处理中,添加基础URL前缀以正确判断当前是否为外部链接页面。 * perf: use global var * remove invalid code * feat: response limit;perf: copy avatar image;perf: markdown parse (#5719) * feat: response limit * remove placeholder * perf: copy avatar image * perf: markdown parse * fix: child app cannot show cite * doc * fix: node template bugs (#5727) * add dataset search count track (#5721) * add dataset search count track * remove pro * change to track * remove unused * fix * perf: track code --------- Co-authored-by: archer <[email protected]> * http response limit * deploy doc * fix: test * doc * remove invalid code * remove invalid code --------- Co-authored-by: 戴盛利 <[email protected]> Co-authored-by: heheer <[email protected]>
1 parent e4127b5 commit a83ae8e

File tree

53 files changed

+362
-57
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+362
-57
lines changed

deploy/docker/cn/docker-compose.milvus.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ services:
197197
WORKFLOW_MAX_LOOP_TIMES: 100
198198
# 对话文件过期天数
199199
CHAT_FILE_EXPIRE_TIME: 7
200+
# 服务器接收请求,最大大小,单位 MB
201+
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
200202
volumes:
201203
- ./config.json:/app/data/config.json
202204

deploy/docker/cn/docker-compose.oceanbase.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ services:
172172
WORKFLOW_MAX_LOOP_TIMES: 100
173173
# 对话文件过期天数
174174
CHAT_FILE_EXPIRE_TIME: 7
175+
# 服务器接收请求,最大大小,单位 MB
176+
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
175177
volumes:
176178
- ./config.json:/app/data/config.json
177179

deploy/docker/cn/docker-compose.pg.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ services:
154154
WORKFLOW_MAX_LOOP_TIMES: 100
155155
# 对话文件过期天数
156156
CHAT_FILE_EXPIRE_TIME: 7
157+
# 服务器接收请求,最大大小,单位 MB
158+
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
157159
volumes:
158160
- ./config.json:/app/data/config.json
159161

deploy/docker/cn/docker-compose.zilliz.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ services:
137137
WORKFLOW_MAX_LOOP_TIMES: 100
138138
# 对话文件过期天数
139139
CHAT_FILE_EXPIRE_TIME: 7
140+
# 服务器接收请求,最大大小,单位 MB
141+
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
140142
volumes:
141143
- ./config.json:/app/data/config.json
142144

deploy/docker/global/docker-compose.milvus.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ services:
197197
WORKFLOW_MAX_LOOP_TIMES: 100
198198
# 对话文件过期天数
199199
CHAT_FILE_EXPIRE_TIME: 7
200+
# 服务器接收请求,最大大小,单位 MB
201+
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
200202
volumes:
201203
- ./config.json:/app/data/config.json
202204

deploy/docker/global/docker-compose.oceanbase.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ services:
172172
WORKFLOW_MAX_LOOP_TIMES: 100
173173
# 对话文件过期天数
174174
CHAT_FILE_EXPIRE_TIME: 7
175+
# 服务器接收请求,最大大小,单位 MB
176+
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
175177
volumes:
176178
- ./config.json:/app/data/config.json
177179

deploy/docker/global/docker-compose.pg.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ services:
154154
WORKFLOW_MAX_LOOP_TIMES: 100
155155
# 对话文件过期天数
156156
CHAT_FILE_EXPIRE_TIME: 7
157+
# 服务器接收请求,最大大小,单位 MB
158+
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
157159
volumes:
158160
- ./config.json:/app/data/config.json
159161

deploy/docker/global/docker-compose.ziliiz.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ services:
137137
WORKFLOW_MAX_LOOP_TIMES: 100
138138
# 对话文件过期天数
139139
CHAT_FILE_EXPIRE_TIME: 7
140+
# 服务器接收请求,最大大小,单位 MB
141+
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
140142
volumes:
141143
- ./config.json:/app/data/config.json
142144

deploy/templates/docker-compose.prod.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ ${{vec.db}}
136136
WORKFLOW_MAX_LOOP_TIMES: 100
137137
# 对话文件过期天数
138138
CHAT_FILE_EXPIRE_TIME: 7
139+
# 服务器接收请求,最大大小,单位 MB
140+
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
139141
volumes:
140142
- ./config.json:/app/data/config.json
141143

@@ -182,6 +184,10 @@ ${{vec.db}}
182184
<<: *x-share-db-config
183185
AUTH_TOKEN: *x-plugin-auth-token
184186
S3_BUCKET: fastgpt-plugins
187+
# 工具网络请求,最大请求和响应体
188+
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
189+
# 最大 API 请求体大小
190+
MAX_API_SIZE: 10
185191
depends_on:
186192
fastgpt-minio:
187193
condition: service_healthy

document/content/docs/upgrading/4-13/4131.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,24 @@ description: 'FastGPT V4.13.1 更新说明'
77

88
## 🚀 新增内容
99

10+
1. 增加对 HTTP 请求响应大小限制。
1011

1112
## ⚙️ 优化
1213

14+
1. 复制应用时,将头像复制一份,避免使用相同的图片链接,导致其中一个应用头像更新后,另一个应用头像丢失。
15+
2. Markdown 解析器适配 windows 路径,避免 \ 被认为转义符。
1316

1417
## 🐛 修复
1518

1619
1. 循环节点中,每轮结束,未清除上一轮交互响应值。
1720
2. 交互节点响应后,未更新对话记录统计数据。
1821
3. prompt 编辑器,弹窗中的默认值存在显示异常。
1922
4. 表单输入,变量名包含.符号时,无法正常输入值。
23+
5. 调用子工作流,自动流知识库引用无法在分享链接中显示。
2024

2125
## 🔨 插件更新
2226

27+
1. base64 解码工具,可以转化成文本和图片。
28+
2. 墨迹天气工具。
29+
3. 必优 PPT 生成工具。
30+
4. 可配置最大请求体大小,以及内部网络请求最大响应大小,避免响应体过大,导致内存溢出。

0 commit comments

Comments
 (0)