Skip to content

Commit c4632a2

Browse files
authored
V4.12.3 document (#5600)
* doc * doc * perf: log
1 parent 3f9b0fa commit c4632a2

File tree

10 files changed

+62
-49
lines changed

10 files changed

+62
-49
lines changed

deploy/docker/docker-compose-milvus.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ services:
151151

152152
fastgpt:
153153
container_name: fastgpt
154-
image: ghcr.io/labring/fastgpt:v4.12.2-fix # git
155-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.2-fix # 阿里云
154+
image: ghcr.io/labring/fastgpt:v4.12.3 # git
155+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.3 # 阿里云
156156
ports:
157157
- 3000:3000
158158
networks:
@@ -209,15 +209,15 @@ services:
209209
- ./config.json:/app/data/config.json
210210
sandbox:
211211
container_name: sandbox
212-
image: ghcr.io/labring/fastgpt-sandbox:v4.12.2 # git
213-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.2 # 阿里云
212+
image: ghcr.io/labring/fastgpt-sandbox:v4.12.3 # git
213+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.3 # 阿里云
214214
networks:
215215
- fastgpt
216216
restart: always
217217
fastgpt-mcp-server:
218218
container_name: fastgpt-mcp-server
219-
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.2 # git
220-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.2 # 阿里云
219+
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.3 # git
220+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.3 # 阿里云
221221
ports:
222222
- 3005:3000
223223
networks:
@@ -226,8 +226,8 @@ services:
226226
environment:
227227
- FASTGPT_ENDPOINT=http://fastgpt:3000
228228
fastgpt-plugin:
229-
image: ghcr.io/labring/fastgpt-plugin:v0.1.11 # git
230-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.11 # 阿里云
229+
image: ghcr.io/labring/fastgpt-plugin:v0.1.12 # git
230+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.12 # 阿里云
231231
container_name: fastgpt-plugin
232232
restart: always
233233
networks:

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ services:
126126

127127
fastgpt:
128128
container_name: fastgpt
129-
image: ghcr.io/labring/fastgpt:v4.12.2-fix # git
130-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.2-fix # 阿里云
129+
image: ghcr.io/labring/fastgpt:v4.12.3 # git
130+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.3 # 阿里云
131131
ports:
132132
- 3000:3000
133133
networks:
@@ -183,15 +183,15 @@ services:
183183
- ./config.json:/app/data/config.json
184184
sandbox:
185185
container_name: sandbox
186-
image: ghcr.io/labring/fastgpt-sandbox:v4.12.2 # git
187-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.2 # 阿里云
186+
image: ghcr.io/labring/fastgpt-sandbox:v4.12.3 # git
187+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.3 # 阿里云
188188
networks:
189189
- fastgpt
190190
restart: always
191191
fastgpt-mcp-server:
192192
container_name: fastgpt-mcp-server
193-
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.2 # git
194-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.2 # 阿里云
193+
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.3 # git
194+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.3 # 阿里云
195195
ports:
196196
- 3005:3000
197197
networks:
@@ -200,8 +200,8 @@ services:
200200
environment:
201201
- FASTGPT_ENDPOINT=http://fastgpt:3000
202202
fastgpt-plugin:
203-
image: ghcr.io/labring/fastgpt-plugin:v0.1.11 # git
204-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.11 # 阿里云
203+
image: ghcr.io/labring/fastgpt-plugin:v0.1.12 # git
204+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.12 # 阿里云
205205
container_name: fastgpt-plugin
206206
restart: always
207207
networks:

deploy/docker/docker-compose-pgvector.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ services:
112112

113113
fastgpt:
114114
container_name: fastgpt
115-
image: ghcr.io/labring/fastgpt:v4.12.2-fix # git
116-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.2-fix # 阿里云
115+
image: ghcr.io/labring/fastgpt:v4.12.3 # git
116+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.3 # 阿里云
117117
ports:
118118
- 3000:3000
119119
networks:
@@ -169,15 +169,15 @@ services:
169169
- ./config.json:/app/data/config.json
170170
sandbox:
171171
container_name: sandbox
172-
image: ghcr.io/labring/fastgpt-sandbox:v4.12.2 # git
173-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.2 # 阿里云
172+
image: ghcr.io/labring/fastgpt-sandbox:v4.12.3 # git
173+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.3 # 阿里云
174174
networks:
175175
- fastgpt
176176
restart: always
177177
fastgpt-mcp-server:
178178
container_name: fastgpt-mcp-server
179-
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.2 # git
180-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.2 # 阿里云
179+
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.3 # git
180+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.3 # 阿里云
181181
ports:
182182
- 3005:3000
183183
networks:
@@ -186,8 +186,8 @@ services:
186186
environment:
187187
- FASTGPT_ENDPOINT=http://fastgpt:3000
188188
fastgpt-plugin:
189-
image: ghcr.io/labring/fastgpt-plugin:v0.1.11 # git
190-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.11 # 阿里云
189+
image: ghcr.io/labring/fastgpt-plugin:v0.1.12 # git
190+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.12 # 阿里云
191191
container_name: fastgpt-plugin
192192
restart: always
193193
networks:

deploy/docker/docker-compose-zilliz.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ services:
9292

9393
fastgpt:
9494
container_name: fastgpt
95-
image: ghcr.io/labring/fastgpt:v4.12.2-fix # git
96-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.2-fix # 阿里云
95+
image: ghcr.io/labring/fastgpt:v4.12.3 # git
96+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.3 # 阿里云
9797
ports:
9898
- 3000:3000
9999
networks:
@@ -151,15 +151,15 @@ services:
151151
- ./config.json:/app/data/config.json
152152
sandbox:
153153
container_name: sandbox
154-
image: ghcr.io/labring/fastgpt-sandbox:v4.12.2 # git
155-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.2 # 阿里云
154+
image: ghcr.io/labring/fastgpt-sandbox:v4.12.3 # git
155+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.3 # 阿里云
156156
networks:
157157
- fastgpt
158158
restart: always
159159
fastgpt-mcp-server:
160160
container_name: fastgpt-mcp-server
161-
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.2 # git
162-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.2 # 阿里云
161+
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.3 # git
162+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.3 # 阿里云
163163
ports:
164164
- 3005:3000
165165
networks:
@@ -168,8 +168,8 @@ services:
168168
environment:
169169
- FASTGPT_ENDPOINT=http://fastgpt:3000
170170
fastgpt-plugin:
171-
image: ghcr.io/labring/fastgpt-plugin:v0.1.11 # git
172-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.11 # 阿里云
171+
image: ghcr.io/labring/fastgpt-plugin:v0.1.12 # git
172+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.12 # 阿里云
173173
container_name: fastgpt-plugin
174174
restart: always
175175
networks:

deploy/docker/yml.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ services:
9595
9696
fastgpt:
9797
container_name: fastgpt
98-
image: ghcr.io/labring/fastgpt:v4.12.2-fix # git
99-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.2-fix # 阿里云
98+
image: ghcr.io/labring/fastgpt:v4.12.3 # git
99+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.3 # 阿里云
100100
ports:
101101
- 3000:3000
102102
networks:
@@ -152,15 +152,15 @@ services:
152152
- ./config.json:/app/data/config.json
153153
sandbox:
154154
container_name: sandbox
155-
image: ghcr.io/labring/fastgpt-sandbox:v4.12.2 # git
156-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.2 # 阿里云
155+
image: ghcr.io/labring/fastgpt-sandbox:v4.12.3 # git
156+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.3 # 阿里云
157157
networks:
158158
- fastgpt
159159
restart: always
160160
fastgpt-mcp-server:
161161
container_name: fastgpt-mcp-server
162-
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.2 # git
163-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.2 # 阿里云
162+
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.3 # git
163+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.3 # 阿里云
164164
ports:
165165
- 3005:3000
166166
networks:
@@ -169,8 +169,8 @@ services:
169169
environment:
170170
- FASTGPT_ENDPOINT=http://fastgpt:3000
171171
fastgpt-plugin:
172-
image: ghcr.io/labring/fastgpt-plugin:v0.1.11 # git
173-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.11 # 阿里云
172+
image: ghcr.io/labring/fastgpt-plugin:v0.1.12 # git
173+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.12 # 阿里云
174174
container_name: fastgpt-plugin
175175
restart: always
176176
networks:

document/content/docs/upgrading/4-12/4123.mdx

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
---
2-
title: 'V4.12.3(进行中)'
3-
description: 'FastGPT V4.12.3 更新说明'
2+
title: 'V4.12.3'
3+
description: 'FastGPT V4.12.3 更新说明, 发布于 2025-9-8'
44
---
55

6+
## 更新指南
7+
8+
### 1. 更新镜像:
9+
10+
- 更新 FastGPT 镜像tag: v4.12.3
11+
- 更新 FastGPT 商业版镜像tag: v4.12.3
12+
- 更新 fastgpt-plugin 镜像 tag: v0.1.12
13+
- mcp_server 无需更新
14+
- Sandbox 无需更新
15+
- AIProxy 无需更新
16+
617
## 🚀 新增内容
718

819
1. 提示词编辑器支持列表、tab 渲染等部分富文本交互。

document/data/doc-last-modified.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@
102102
"document/content/docs/upgrading/4-10/4101.mdx": "2025-08-02T19:38:37+08:00",
103103
"document/content/docs/upgrading/4-11/4110.mdx": "2025-08-05T23:20:39+08:00",
104104
"document/content/docs/upgrading/4-11/4111.mdx": "2025-08-07T22:49:09+08:00",
105-
"document/content/docs/upgrading/4-12/4120.mdx": "2025-09-04T22:59:41+08:00",
106-
"document/content/docs/upgrading/4-12/4121.mdx": "2025-09-04T22:59:41+08:00",
107-
"document/content/docs/upgrading/4-12/4122.mdx": "2025-09-04T22:59:41+08:00",
108-
"document/content/docs/upgrading/4-12/4123.mdx": "2025-09-05T17:31:22+08:00",
105+
"document/content/docs/upgrading/4-12/4120.mdx": "2025-09-07T14:41:48+08:00",
106+
"document/content/docs/upgrading/4-12/4121.mdx": "2025-09-07T14:41:48+08:00",
107+
"document/content/docs/upgrading/4-12/4122.mdx": "2025-09-07T14:41:48+08:00",
108+
"document/content/docs/upgrading/4-12/4123.mdx": "2025-09-07T14:41:48+08:00",
109109
"document/content/docs/upgrading/4-8/40.mdx": "2025-08-02T19:38:37+08:00",
110110
"document/content/docs/upgrading/4-8/41.mdx": "2025-08-02T19:38:37+08:00",
111111
"document/content/docs/upgrading/4-8/42.mdx": "2025-08-02T19:38:37+08:00",

packages/service/core/app/mcp.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { retryFn } from '@fastgpt/global/common/system/utils';
88
import { PluginSourceEnum } from '@fastgpt/global/core/app/plugin/constants';
99
import { MongoApp } from './schema';
1010
import type { McpToolDataType } from '@fastgpt/global/core/app/mcpTools/type';
11+
import { UserError } from '@fastgpt/global/common/error/utils';
1112

1213
export class MCPClient {
1314
private client: Client;
@@ -76,7 +77,7 @@ export class MCPClient {
7677
const response = await client.listTools();
7778

7879
if (!Array.isArray(response.tools)) {
79-
return Promise.reject('[MCP Client] Get tools response is not an array');
80+
return Promise.reject(new UserError('[MCP Client] Get tools response is not an array'));
8081
}
8182

8283
const tools = response.tools.map((tool) => ({

projects/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "app",
3-
"version": "4.12.2",
3+
"version": "4.12.3",
44
"private": false,
55
"scripts": {
66
"dev": "next dev",

projects/app/src/pages/api/support/user/account/preLogin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { UserAuthTypeEnum } from '@fastgpt/global/support/user/auth/constants';
44
import { getNanoid } from '@fastgpt/global/common/string/tools';
55
import { addSeconds } from 'date-fns';
66
import { addAuthCode } from '@fastgpt/service/support/user/auth/controller';
7+
import { UserError } from '@fastgpt/global/common/error/utils';
78

89
export type preLoginQuery = {
910
username: string;
@@ -20,7 +21,7 @@ async function handler(
2021
const { username } = req.query;
2122

2223
if (!username) {
23-
return Promise.reject('username is required');
24+
return Promise.reject(new UserError('username is required'));
2425
}
2526

2627
const code = getNanoid(6);

0 commit comments

Comments
 (0)