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
c4632a22
authored
Sep 07, 2025
by
Archer
Committed by
GitHub
Sep 07, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4.12.3 document (#5600)
* doc * doc * perf: log
parent
3f9b0fa1
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
62 additions
and
49 deletions
+62
-49
deploy/docker/docker-compose-milvus.yml
+8
-8
deploy/docker/docker-compose-oceanbase/docker-compose.yml
+8
-8
deploy/docker/docker-compose-pgvector.yml
+8
-8
deploy/docker/docker-compose-zilliz.yml
+8
-8
deploy/docker/yml.js
+8
-8
document/content/docs/upgrading/4-12/4123.mdx
+13
-2
document/data/doc-last-modified.json
+4
-4
packages/service/core/app/mcp.ts
+2
-1
projects/app/package.json
+1
-1
projects/app/src/pages/api/support/user/account/preLogin.ts
+2
-1
No files found.
deploy/docker/docker-compose-milvus.yml
View file @
c4632a22
...
@@ -151,8 +151,8 @@ services:
...
@@ -151,8 +151,8 @@ services:
fastgpt
:
fastgpt
:
container_name
:
fastgpt
container_name
:
fastgpt
image
:
ghcr.io/labring/fastgpt:v4.12.
2-fix
# git
image
:
ghcr.io/labring/fastgpt:v4.12.
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
2-fix
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
3
# 阿里云
ports
:
ports
:
-
3000:3000
-
3000:3000
networks
:
networks
:
...
@@ -209,15 +209,15 @@ services:
...
@@ -209,15 +209,15 @@ services:
-
./config.json:/app/data/config.json
-
./config.json:/app/data/config.json
sandbox
:
sandbox
:
container_name
:
sandbox
container_name
:
sandbox
image
:
ghcr.io/labring/fastgpt-sandbox:v4.12.
2
# git
image
:
ghcr.io/labring/fastgpt-sandbox:v4.12.
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
2
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
3
# 阿里云
networks
:
networks
:
-
fastgpt
-
fastgpt
restart
:
always
restart
:
always
fastgpt-mcp-server
:
fastgpt-mcp-server
:
container_name
:
fastgpt-mcp-server
container_name
:
fastgpt-mcp-server
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.12.
2
# git
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.12.
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
2
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
3
# 阿里云
ports
:
ports
:
-
3005:3000
-
3005:3000
networks
:
networks
:
...
@@ -226,8 +226,8 @@ services:
...
@@ -226,8 +226,8 @@ services:
environment
:
environment
:
-
FASTGPT_ENDPOINT=http://fastgpt:3000
-
FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin
:
fastgpt-plugin
:
image
:
ghcr.io/labring/fastgpt-plugin:v0.1.1
1
# git
image
:
ghcr.io/labring/fastgpt-plugin:v0.1.1
2
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
1
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
2
# 阿里云
container_name
:
fastgpt-plugin
container_name
:
fastgpt-plugin
restart
:
always
restart
:
always
networks
:
networks
:
...
...
deploy/docker/docker-compose-oceanbase/docker-compose.yml
View file @
c4632a22
...
@@ -126,8 +126,8 @@ services:
...
@@ -126,8 +126,8 @@ services:
fastgpt
:
fastgpt
:
container_name
:
fastgpt
container_name
:
fastgpt
image
:
ghcr.io/labring/fastgpt:v4.12.
2-fix
# git
image
:
ghcr.io/labring/fastgpt:v4.12.
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
2-fix
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
3
# 阿里云
ports
:
ports
:
-
3000:3000
-
3000:3000
networks
:
networks
:
...
@@ -183,15 +183,15 @@ services:
...
@@ -183,15 +183,15 @@ services:
-
./config.json:/app/data/config.json
-
./config.json:/app/data/config.json
sandbox
:
sandbox
:
container_name
:
sandbox
container_name
:
sandbox
image
:
ghcr.io/labring/fastgpt-sandbox:v4.12.
2
# git
image
:
ghcr.io/labring/fastgpt-sandbox:v4.12.
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
2
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
3
# 阿里云
networks
:
networks
:
-
fastgpt
-
fastgpt
restart
:
always
restart
:
always
fastgpt-mcp-server
:
fastgpt-mcp-server
:
container_name
:
fastgpt-mcp-server
container_name
:
fastgpt-mcp-server
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.12.
2
# git
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.12.
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
2
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
3
# 阿里云
ports
:
ports
:
-
3005:3000
-
3005:3000
networks
:
networks
:
...
@@ -200,8 +200,8 @@ services:
...
@@ -200,8 +200,8 @@ services:
environment
:
environment
:
-
FASTGPT_ENDPOINT=http://fastgpt:3000
-
FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin
:
fastgpt-plugin
:
image
:
ghcr.io/labring/fastgpt-plugin:v0.1.1
1
# git
image
:
ghcr.io/labring/fastgpt-plugin:v0.1.1
2
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
1
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
2
# 阿里云
container_name
:
fastgpt-plugin
container_name
:
fastgpt-plugin
restart
:
always
restart
:
always
networks
:
networks
:
...
...
deploy/docker/docker-compose-pgvector.yml
View file @
c4632a22
...
@@ -112,8 +112,8 @@ services:
...
@@ -112,8 +112,8 @@ services:
fastgpt
:
fastgpt
:
container_name
:
fastgpt
container_name
:
fastgpt
image
:
ghcr.io/labring/fastgpt:v4.12.
2-fix
# git
image
:
ghcr.io/labring/fastgpt:v4.12.
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
2-fix
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
3
# 阿里云
ports
:
ports
:
-
3000:3000
-
3000:3000
networks
:
networks
:
...
@@ -169,15 +169,15 @@ services:
...
@@ -169,15 +169,15 @@ services:
-
./config.json:/app/data/config.json
-
./config.json:/app/data/config.json
sandbox
:
sandbox
:
container_name
:
sandbox
container_name
:
sandbox
image
:
ghcr.io/labring/fastgpt-sandbox:v4.12.
2
# git
image
:
ghcr.io/labring/fastgpt-sandbox:v4.12.
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
2
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
3
# 阿里云
networks
:
networks
:
-
fastgpt
-
fastgpt
restart
:
always
restart
:
always
fastgpt-mcp-server
:
fastgpt-mcp-server
:
container_name
:
fastgpt-mcp-server
container_name
:
fastgpt-mcp-server
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.12.
2
# git
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.12.
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
2
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
3
# 阿里云
ports
:
ports
:
-
3005:3000
-
3005:3000
networks
:
networks
:
...
@@ -186,8 +186,8 @@ services:
...
@@ -186,8 +186,8 @@ services:
environment
:
environment
:
-
FASTGPT_ENDPOINT=http://fastgpt:3000
-
FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin
:
fastgpt-plugin
:
image
:
ghcr.io/labring/fastgpt-plugin:v0.1.1
1
# git
image
:
ghcr.io/labring/fastgpt-plugin:v0.1.1
2
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
1
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
2
# 阿里云
container_name
:
fastgpt-plugin
container_name
:
fastgpt-plugin
restart
:
always
restart
:
always
networks
:
networks
:
...
...
deploy/docker/docker-compose-zilliz.yml
View file @
c4632a22
...
@@ -92,8 +92,8 @@ services:
...
@@ -92,8 +92,8 @@ services:
fastgpt
:
fastgpt
:
container_name
:
fastgpt
container_name
:
fastgpt
image
:
ghcr.io/labring/fastgpt:v4.12.
2-fix
# git
image
:
ghcr.io/labring/fastgpt:v4.12.
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
2-fix
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
3
# 阿里云
ports
:
ports
:
-
3000:3000
-
3000:3000
networks
:
networks
:
...
@@ -151,15 +151,15 @@ services:
...
@@ -151,15 +151,15 @@ services:
-
./config.json:/app/data/config.json
-
./config.json:/app/data/config.json
sandbox
:
sandbox
:
container_name
:
sandbox
container_name
:
sandbox
image
:
ghcr.io/labring/fastgpt-sandbox:v4.12.
2
# git
image
:
ghcr.io/labring/fastgpt-sandbox:v4.12.
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
2
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
3
# 阿里云
networks
:
networks
:
-
fastgpt
-
fastgpt
restart
:
always
restart
:
always
fastgpt-mcp-server
:
fastgpt-mcp-server
:
container_name
:
fastgpt-mcp-server
container_name
:
fastgpt-mcp-server
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.12.
2
# git
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.12.
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
2
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
3
# 阿里云
ports
:
ports
:
-
3005:3000
-
3005:3000
networks
:
networks
:
...
@@ -168,8 +168,8 @@ services:
...
@@ -168,8 +168,8 @@ services:
environment
:
environment
:
-
FASTGPT_ENDPOINT=http://fastgpt:3000
-
FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin
:
fastgpt-plugin
:
image
:
ghcr.io/labring/fastgpt-plugin:v0.1.1
1
# git
image
:
ghcr.io/labring/fastgpt-plugin:v0.1.1
2
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
1
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
2
# 阿里云
container_name
:
fastgpt-plugin
container_name
:
fastgpt-plugin
restart
:
always
restart
:
always
networks
:
networks
:
...
...
deploy/docker/yml.js
View file @
c4632a22
...
@@ -95,8 +95,8 @@ services:
...
@@ -95,8 +95,8 @@ services:
fastgpt:
fastgpt:
container_name: fastgpt
container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.12.
2-fix
# git
image: ghcr.io/labring/fastgpt:v4.12.
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
2-fix
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
3
# 阿里云
ports:
ports:
- 3000:3000
- 3000:3000
networks:
networks:
...
@@ -152,15 +152,15 @@ services:
...
@@ -152,15 +152,15 @@ services:
- ./config.json:/app/data/config.json
- ./config.json:/app/data/config.json
sandbox:
sandbox:
container_name: sandbox
container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.12.
2
# git
image: ghcr.io/labring/fastgpt-sandbox:v4.12.
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
2
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
3
# 阿里云
networks:
networks:
- fastgpt
- fastgpt
restart: always
restart: always
fastgpt-mcp-server:
fastgpt-mcp-server:
container_name: fastgpt-mcp-server
container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.
2
# git
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
2
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
3
# 阿里云
ports:
ports:
- 3005:3000
- 3005:3000
networks:
networks:
...
@@ -169,8 +169,8 @@ services:
...
@@ -169,8 +169,8 @@ services:
environment:
environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000
- FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin:
fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.1.1
1
# git
image: ghcr.io/labring/fastgpt-plugin:v0.1.1
2
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
1
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
2
# 阿里云
container_name: fastgpt-plugin
container_name: fastgpt-plugin
restart: always
restart: always
networks:
networks:
...
...
document/content/docs/upgrading/4-12/4123.mdx
View file @
c4632a22
---
---
title: 'V4.12.3
(进行中)
'
title: 'V4.12.3'
description: 'FastGPT V4.12.3 更新说明'
description: 'FastGPT V4.12.3 更新说明
, 发布于 2025-9-8
'
---
---
## 更新指南
### 1. 更新镜像:
- 更新 FastGPT 镜像tag: v4.12.3
- 更新 FastGPT 商业版镜像tag: v4.12.3
- 更新 fastgpt-plugin 镜像 tag: v0.1.12
- mcp_server 无需更新
- Sandbox 无需更新
- AIProxy 无需更新
## 🚀 新增内容
## 🚀 新增内容
1. 提示词编辑器支持列表、tab 渲染等部分富文本交互。
1. 提示词编辑器支持列表、tab 渲染等部分富文本交互。
...
...
document/data/doc-last-modified.json
View file @
c4632a22
...
@@ -102,10 +102,10 @@
...
@@ -102,10 +102,10 @@
"document/content/docs/upgrading/4-10/4101.mdx"
:
"2025-08-02T19:38:37+08:00"
,
"document/content/docs/upgrading/4-10/4101.mdx"
:
"2025-08-02T19:38:37+08:00"
,
"document/content/docs/upgrading/4-11/4110.mdx"
:
"2025-08-05T23:20:39+08:00"
,
"document/content/docs/upgrading/4-11/4110.mdx"
:
"2025-08-05T23:20:39+08:00"
,
"document/content/docs/upgrading/4-11/4111.mdx"
:
"2025-08-07T22:49:09+08:00"
,
"document/content/docs/upgrading/4-11/4111.mdx"
:
"2025-08-07T22:49:09+08:00"
,
"document/content/docs/upgrading/4-12/4120.mdx"
:
"2025-09-0
4T22:59:41
+08:00"
,
"document/content/docs/upgrading/4-12/4120.mdx"
:
"2025-09-0
7T14:41:48
+08:00"
,
"document/content/docs/upgrading/4-12/4121.mdx"
:
"2025-09-0
4T22:59:41
+08:00"
,
"document/content/docs/upgrading/4-12/4121.mdx"
:
"2025-09-0
7T14:41:48
+08:00"
,
"document/content/docs/upgrading/4-12/4122.mdx"
:
"2025-09-0
4T22:59:41
+08:00"
,
"document/content/docs/upgrading/4-12/4122.mdx"
:
"2025-09-0
7T14:41:48
+08:00"
,
"document/content/docs/upgrading/4-12/4123.mdx"
:
"2025-09-0
5T17:31:22
+08:00"
,
"document/content/docs/upgrading/4-12/4123.mdx"
:
"2025-09-0
7T14:41:48
+08:00"
,
"document/content/docs/upgrading/4-8/40.mdx"
:
"2025-08-02T19:38:37+08:00"
,
"document/content/docs/upgrading/4-8/40.mdx"
:
"2025-08-02T19:38:37+08:00"
,
"document/content/docs/upgrading/4-8/41.mdx"
:
"2025-08-02T19:38:37+08:00"
,
"document/content/docs/upgrading/4-8/41.mdx"
:
"2025-08-02T19:38:37+08:00"
,
"document/content/docs/upgrading/4-8/42.mdx"
:
"2025-08-02T19:38:37+08:00"
,
"document/content/docs/upgrading/4-8/42.mdx"
:
"2025-08-02T19:38:37+08:00"
,
...
...
packages/service/core/app/mcp.ts
View file @
c4632a22
...
@@ -8,6 +8,7 @@ import { retryFn } from '@fastgpt/global/common/system/utils';
...
@@ -8,6 +8,7 @@ import { retryFn } from '@fastgpt/global/common/system/utils';
import
{
PluginSourceEnum
}
from
'@fastgpt/global/core/app/plugin/constants'
;
import
{
PluginSourceEnum
}
from
'@fastgpt/global/core/app/plugin/constants'
;
import
{
MongoApp
}
from
'./schema'
;
import
{
MongoApp
}
from
'./schema'
;
import
type
{
McpToolDataType
}
from
'@fastgpt/global/core/app/mcpTools/type'
;
import
type
{
McpToolDataType
}
from
'@fastgpt/global/core/app/mcpTools/type'
;
import
{
UserError
}
from
'@fastgpt/global/common/error/utils'
;
export
class
MCPClient
{
export
class
MCPClient
{
private
client
:
Client
;
private
client
:
Client
;
...
@@ -76,7 +77,7 @@ export class MCPClient {
...
@@ -76,7 +77,7 @@ export class MCPClient {
const
response
=
await
client
.
listTools
();
const
response
=
await
client
.
listTools
();
if
(
!
Array
.
isArray
(
response
.
tools
))
{
if
(
!
Array
.
isArray
(
response
.
tools
))
{
return
Promise
.
reject
(
'[MCP Client] Get tools response is not an array'
);
return
Promise
.
reject
(
new
UserError
(
'[MCP Client] Get tools response is not an array'
)
);
}
}
const
tools
=
response
.
tools
.
map
((
tool
)
=>
({
const
tools
=
response
.
tools
.
map
((
tool
)
=>
({
...
...
projects/app/package.json
View file @
c4632a22
{
{
"name"
:
"
app
"
,
"name"
:
"
app
"
,
"version"
:
"4.12.
2
"
,
"version"
:
"4.12.
3
"
,
"private"
:
false
,
"private"
:
false
,
"scripts"
:
{
"scripts"
:
{
"dev"
:
"next dev"
,
"dev"
:
"next dev"
,
...
...
projects/app/src/pages/api/support/user/account/preLogin.ts
View file @
c4632a22
...
@@ -4,6 +4,7 @@ import { UserAuthTypeEnum } from '@fastgpt/global/support/user/auth/constants';
...
@@ -4,6 +4,7 @@ import { UserAuthTypeEnum } from '@fastgpt/global/support/user/auth/constants';
import
{
getNanoid
}
from
'@fastgpt/global/common/string/tools'
;
import
{
getNanoid
}
from
'@fastgpt/global/common/string/tools'
;
import
{
addSeconds
}
from
'date-fns'
;
import
{
addSeconds
}
from
'date-fns'
;
import
{
addAuthCode
}
from
'@fastgpt/service/support/user/auth/controller'
;
import
{
addAuthCode
}
from
'@fastgpt/service/support/user/auth/controller'
;
import
{
UserError
}
from
'@fastgpt/global/common/error/utils'
;
export
type
preLoginQuery
=
{
export
type
preLoginQuery
=
{
username
:
string
;
username
:
string
;
...
@@ -20,7 +21,7 @@ async function handler(
...
@@ -20,7 +21,7 @@ async function handler(
const
{
username
}
=
req
.
query
;
const
{
username
}
=
req
.
query
;
if
(
!
username
)
{
if
(
!
username
)
{
return
Promise
.
reject
(
'username is required'
);
return
Promise
.
reject
(
new
UserError
(
'username is required'
)
);
}
}
const
code
=
getNanoid
(
6
);
const
code
=
getNanoid
(
6
);
...
...
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