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
cb7d1a32
authored
Sep 15, 2025
by
Archer
Committed by
GitHub
Sep 15, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: init shell (#5651)
* perf: init shell * fix: tool run select * border radius
parent
2ed1545e
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
133 additions
and
102 deletions
+133
-102
deploy/docker/docker-compose-milvus.yml
+10
-10
deploy/docker/docker-compose-oceanbase/docker-compose.yml
+10
-10
deploy/docker/docker-compose-pgvector.yml
+10
-10
deploy/docker/docker-compose-zilliz.yml
+10
-10
deploy/docker/yml.js
+10
-10
document/content/docs/upgrading/4-12/4124.mdx
+13
-2
document/data/doc-last-modified.json
+5
-4
packages/service/core/workflow/dispatch/child/runTool.ts
+4
-1
packages/web/components/common/UserBox/index.tsx
+1
-1
projects/app/src/pageComponents/app/detail/SimpleApp/components/ConfigToolModal.tsx
+8
-2
projects/app/src/pages/api/admin/initv4124.ts
+52
-42
No files found.
deploy/docker/docker-compose-milvus.yml
View file @
cb7d1a32
...
@@ -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.
3
# git
image
:
ghcr.io/labring/fastgpt:v4.12.
4
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
3
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
4
# 阿里云
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.
3
# git
image
:
ghcr.io/labring/fastgpt-sandbox:v4.12.
4
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
3
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
4
# 阿里云
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.
3
# git
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.12.
4
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
3
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
4
# 阿里云
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
2
# git
image
:
ghcr.io/labring/fastgpt-plugin:v0.1.1
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
2
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
3
# 阿里云
container_name
:
fastgpt-plugin
container_name
:
fastgpt-plugin
restart
:
always
restart
:
always
networks
:
networks
:
...
@@ -252,8 +252,8 @@ services:
...
@@ -252,8 +252,8 @@ services:
# AI Proxy
# AI Proxy
aiproxy
:
aiproxy
:
image
:
ghcr.io/labring/aiproxy:v0.
2
.2
image
:
ghcr.io/labring/aiproxy:v0.
3
.2
# image: registry.cn-hangzhou.aliyuncs.com/labring/aiproxy:v0.
2
.2 # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/labring/aiproxy:v0.
3
.2 # 阿里云
container_name
:
aiproxy
container_name
:
aiproxy
restart
:
unless-stopped
restart
:
unless-stopped
depends_on
:
depends_on
:
...
...
deploy/docker/docker-compose-oceanbase/docker-compose.yml
View file @
cb7d1a32
...
@@ -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.
3
# git
image
:
ghcr.io/labring/fastgpt:v4.12.
4
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
3
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
4
# 阿里云
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.
3
# git
image
:
ghcr.io/labring/fastgpt-sandbox:v4.12.
4
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
3
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
4
# 阿里云
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.
3
# git
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.12.
4
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
3
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
4
# 阿里云
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
2
# git
image
:
ghcr.io/labring/fastgpt-plugin:v0.1.1
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
2
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
3
# 阿里云
container_name
:
fastgpt-plugin
container_name
:
fastgpt-plugin
restart
:
always
restart
:
always
networks
:
networks
:
...
@@ -226,8 +226,8 @@ services:
...
@@ -226,8 +226,8 @@ services:
# AI Proxy
# AI Proxy
aiproxy
:
aiproxy
:
image
:
ghcr.io/labring/aiproxy:v0.
2
.2
image
:
ghcr.io/labring/aiproxy:v0.
3
.2
# image: registry.cn-hangzhou.aliyuncs.com/labring/aiproxy:v0.
2
.2 # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/labring/aiproxy:v0.
3
.2 # 阿里云
container_name
:
aiproxy
container_name
:
aiproxy
restart
:
unless-stopped
restart
:
unless-stopped
depends_on
:
depends_on
:
...
...
deploy/docker/docker-compose-pgvector.yml
View file @
cb7d1a32
...
@@ -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.
3
# git
image
:
ghcr.io/labring/fastgpt:v4.12.
4
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
3
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
4
# 阿里云
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.
3
# git
image
:
ghcr.io/labring/fastgpt-sandbox:v4.12.
4
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
3
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
4
# 阿里云
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.
3
# git
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.12.
4
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
3
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
4
# 阿里云
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
2
# git
image
:
ghcr.io/labring/fastgpt-plugin:v0.1.1
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
2
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
3
# 阿里云
container_name
:
fastgpt-plugin
container_name
:
fastgpt-plugin
restart
:
always
restart
:
always
networks
:
networks
:
...
@@ -212,8 +212,8 @@ services:
...
@@ -212,8 +212,8 @@ services:
# AI Proxy
# AI Proxy
aiproxy
:
aiproxy
:
image
:
ghcr.io/labring/aiproxy:v0.
2
.2
image
:
ghcr.io/labring/aiproxy:v0.
3
.2
# image: registry.cn-hangzhou.aliyuncs.com/labring/aiproxy:v0.
2
.2 # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/labring/aiproxy:v0.
3
.2 # 阿里云
container_name
:
aiproxy
container_name
:
aiproxy
restart
:
unless-stopped
restart
:
unless-stopped
depends_on
:
depends_on
:
...
...
deploy/docker/docker-compose-zilliz.yml
View file @
cb7d1a32
...
@@ -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.
3
# git
image
:
ghcr.io/labring/fastgpt:v4.12.
4
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
3
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
4
# 阿里云
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.
3
# git
image
:
ghcr.io/labring/fastgpt-sandbox:v4.12.
4
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
3
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
4
# 阿里云
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.
3
# git
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.12.
4
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
3
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
4
# 阿里云
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
2
# git
image
:
ghcr.io/labring/fastgpt-plugin:v0.1.1
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
2
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
3
# 阿里云
container_name
:
fastgpt-plugin
container_name
:
fastgpt-plugin
restart
:
always
restart
:
always
networks
:
networks
:
...
@@ -194,8 +194,8 @@ services:
...
@@ -194,8 +194,8 @@ services:
# AI Proxy
# AI Proxy
aiproxy
:
aiproxy
:
image
:
ghcr.io/labring/aiproxy:v0.
2
.2
image
:
ghcr.io/labring/aiproxy:v0.
3
.2
# image: registry.cn-hangzhou.aliyuncs.com/labring/aiproxy:v0.
2
.2 # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/labring/aiproxy:v0.
3
.2 # 阿里云
container_name
:
aiproxy
container_name
:
aiproxy
restart
:
unless-stopped
restart
:
unless-stopped
depends_on
:
depends_on
:
...
...
deploy/docker/yml.js
View file @
cb7d1a32
...
@@ -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.
3
# git
image: ghcr.io/labring/fastgpt:v4.12.
4
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
3
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.
4
# 阿里云
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.
3
# git
image: ghcr.io/labring/fastgpt-sandbox:v4.12.
4
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
3
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.
4
# 阿里云
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.
3
# git
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.
4
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
3
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.
4
# 阿里云
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
2
# git
image: ghcr.io/labring/fastgpt-plugin:v0.1.1
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
2
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1
3
# 阿里云
container_name: fastgpt-plugin
container_name: fastgpt-plugin
restart: always
restart: always
networks:
networks:
...
@@ -195,8 +195,8 @@ services:
...
@@ -195,8 +195,8 @@ services:
# AI Proxy
# AI Proxy
aiproxy:
aiproxy:
image: ghcr.io/labring/aiproxy:v0.
2
.2
image: ghcr.io/labring/aiproxy:v0.
3
.2
# image: registry.cn-hangzhou.aliyuncs.com/labring/aiproxy:v0.
2
.2 # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/labring/aiproxy:v0.
3
.2 # 阿里云
container_name: aiproxy
container_name: aiproxy
restart: unless-stopped
restart: unless-stopped
depends_on:
depends_on:
...
...
document/content/docs/upgrading/4-12/4124.mdx
View file @
cb7d1a32
---
---
title: 'V4.12.4
(进行)
'
title: 'V4.12.4'
description: 'FastGPT V4.12.4 更新说明'
description: 'FastGPT V4.12.4 更新说明
, 发布于 2025-9-15
'
---
---
## 更新指南
### 1. 更新镜像:
- 更新 FastGPT 镜像tag: v4.12.4
- 更新 FastGPT 商业版镜像tag: v4.12.4
- 更新 fastgpt-plugin 镜像 tag: v0.1.13
- mcp_server 无需更新
- 更新 Sandbox 镜像 tag: v4.12.4
- AIProxy 无需更新
## 🚀 新增内容
## 🚀 新增内容
1. 商业版支持企微发布渠道。
1. 商业版支持企微发布渠道。
...
...
document/data/doc-last-modified.json
View file @
cb7d1a32
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
"document/content/docs/introduction/development/modelConfig/ppio.mdx"
:
"2025-08-05T23:20:39+08:00"
,
"document/content/docs/introduction/development/modelConfig/ppio.mdx"
:
"2025-08-05T23:20:39+08:00"
,
"document/content/docs/introduction/development/modelConfig/siliconCloud.mdx"
:
"2025-08-05T23:20:39+08:00"
,
"document/content/docs/introduction/development/modelConfig/siliconCloud.mdx"
:
"2025-08-05T23:20:39+08:00"
,
"document/content/docs/introduction/development/openapi/chat.mdx"
:
"2025-08-14T18:54:47+08:00"
,
"document/content/docs/introduction/development/openapi/chat.mdx"
:
"2025-08-14T18:54:47+08:00"
,
"document/content/docs/introduction/development/openapi/dataset.mdx"
:
"2025-09-1
1T10:29:11
+08:00"
,
"document/content/docs/introduction/development/openapi/dataset.mdx"
:
"2025-09-1
5T20:02:54
+08:00"
,
"document/content/docs/introduction/development/openapi/intro.mdx"
:
"2025-08-14T18:54:47+08:00"
,
"document/content/docs/introduction/development/openapi/intro.mdx"
:
"2025-08-14T18:54:47+08:00"
,
"document/content/docs/introduction/development/openapi/share.mdx"
:
"2025-08-05T23:20:39+08:00"
,
"document/content/docs/introduction/development/openapi/share.mdx"
:
"2025-08-05T23:20:39+08:00"
,
"document/content/docs/introduction/development/proxy/cloudflare.mdx"
:
"2025-07-23T21:35:03+08:00"
,
"document/content/docs/introduction/development/proxy/cloudflare.mdx"
:
"2025-07-23T21:35:03+08:00"
,
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
"document/content/docs/protocol/terms.en.mdx"
:
"2025-08-03T22:37:45+08:00"
,
"document/content/docs/protocol/terms.en.mdx"
:
"2025-08-03T22:37:45+08:00"
,
"document/content/docs/protocol/terms.mdx"
:
"2025-08-03T22:37:45+08:00"
,
"document/content/docs/protocol/terms.mdx"
:
"2025-08-03T22:37:45+08:00"
,
"document/content/docs/toc.en.mdx"
:
"2025-08-04T13:42:36+08:00"
,
"document/content/docs/toc.en.mdx"
:
"2025-08-04T13:42:36+08:00"
,
"document/content/docs/toc.mdx"
:
"2025-09-1
2T12:58:39
+08:00"
,
"document/content/docs/toc.mdx"
:
"2025-09-1
5T20:02:54
+08:00"
,
"document/content/docs/upgrading/4-10/4100.mdx"
:
"2025-08-02T19:38:37+08:00"
,
"document/content/docs/upgrading/4-10/4100.mdx"
:
"2025-08-02T19:38:37+08:00"
,
"document/content/docs/upgrading/4-10/4101.mdx"
:
"2025-09-08T20:07:20+08:00"
,
"document/content/docs/upgrading/4-10/4101.mdx"
:
"2025-09-08T20:07:20+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"
,
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
"document/content/docs/upgrading/4-12/4121.mdx"
:
"2025-09-07T14:41:48+08:00"
,
"document/content/docs/upgrading/4-12/4121.mdx"
:
"2025-09-07T14:41:48+08:00"
,
"document/content/docs/upgrading/4-12/4122.mdx"
:
"2025-09-07T14:41:48+08:00"
,
"document/content/docs/upgrading/4-12/4122.mdx"
:
"2025-09-07T14:41:48+08:00"
,
"document/content/docs/upgrading/4-12/4123.mdx"
:
"2025-09-07T20:55:14+08:00"
,
"document/content/docs/upgrading/4-12/4123.mdx"
:
"2025-09-07T20:55:14+08:00"
,
"document/content/docs/upgrading/4-12/4124.mdx"
:
"2025-09-1
3T01:34:0
4+08:00"
,
"document/content/docs/upgrading/4-12/4124.mdx"
:
"2025-09-1
5T20:02:5
4+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"
,
...
@@ -186,6 +186,6 @@
...
@@ -186,6 +186,6 @@
"document/content/docs/use-cases/external-integration/feishu.mdx"
:
"2025-07-24T14:23:04+08:00"
,
"document/content/docs/use-cases/external-integration/feishu.mdx"
:
"2025-07-24T14:23:04+08:00"
,
"document/content/docs/use-cases/external-integration/official_account.mdx"
:
"2025-08-05T23:20:39+08:00"
,
"document/content/docs/use-cases/external-integration/official_account.mdx"
:
"2025-08-05T23:20:39+08:00"
,
"document/content/docs/use-cases/external-integration/openapi.mdx"
:
"2025-08-14T18:54:47+08:00"
,
"document/content/docs/use-cases/external-integration/openapi.mdx"
:
"2025-08-14T18:54:47+08:00"
,
"document/content/docs/use-cases/external-integration/wecom.mdx"
:
"2025-09-1
2T12:58:39
+08:00"
,
"document/content/docs/use-cases/external-integration/wecom.mdx"
:
"2025-09-1
5T20:02:54
+08:00"
,
"document/content/docs/use-cases/index.mdx"
:
"2025-07-24T14:23:04+08:00"
"document/content/docs/use-cases/index.mdx"
:
"2025-07-24T14:23:04+08:00"
}
}
\ No newline at end of file
packages/service/core/workflow/dispatch/child/runTool.ts
View file @
cb7d1a32
...
@@ -153,7 +153,10 @@ export const dispatchRunTool = async (props: RunToolProps): Promise<RunToolRespo
...
@@ -153,7 +153,10 @@ export const dispatchRunTool = async (props: RunToolProps): Promise<RunToolRespo
}
}
const
usagePoints
=
(()
=>
{
const
usagePoints
=
(()
=>
{
if
(
params
.
system_input_config
?.
type
!==
SystemToolInputTypeEnum
.
system
)
{
if
(
params
.
system_input_config
?.
type
===
SystemToolInputTypeEnum
.
team
||
params
.
system_input_config
?.
type
===
SystemToolInputTypeEnum
.
manual
)
{
return
0
;
return
0
;
}
}
return
(
tool
.
systemKeyCost
??
0
)
+
(
tool
.
currentCost
??
0
);
return
(
tool
.
systemKeyCost
??
0
)
+
(
tool
.
currentCost
??
0
);
...
...
packages/web/components/common/UserBox/index.tsx
View file @
cb7d1a32
...
@@ -15,7 +15,7 @@ function UserBox({ sourceMember, avatarSize = '1.25rem', ...props }: UserBoxProp
...
@@ -15,7 +15,7 @@ function UserBox({ sourceMember, avatarSize = '1.25rem', ...props }: UserBoxProp
return
(
return
(
<
HStack
space=
"1"
{
...
props
}
>
<
HStack
space=
"1"
{
...
props
}
>
<
Avatar
src=
{
sourceMember
.
avatar
}
w=
{
avatarSize
}
/>
<
Avatar
src=
{
sourceMember
.
avatar
}
w=
{
avatarSize
}
borderRadius=
{
'xs'
}
/>
<
Box
maxW=
{
'150px'
}
whiteSpace=
{
'nowrap'
}
overflow=
{
'hidden'
}
>
<
Box
maxW=
{
'150px'
}
whiteSpace=
{
'nowrap'
}
overflow=
{
'hidden'
}
>
{
sourceMember
.
name
}
{
sourceMember
.
name
}
</
Box
>
</
Box
>
...
...
projects/app/src/pageComponents/app/detail/SimpleApp/components/ConfigToolModal.tsx
View file @
cb7d1a32
...
@@ -94,13 +94,19 @@ const ConfigToolModal = ({
...
@@ -94,13 +94,19 @@ const ConfigToolModal = ({
<
Controller
<
Controller
control=
{
control
}
control=
{
control
}
name=
{
input
.
key
}
name=
{
input
.
key
}
render=
{
({
field
:
{
onChange
,
value
}
})
=>
(
rules=
{
{
required
:
true
}
}
render=
{
({
field
:
{
onChange
,
value
},
fieldState
:
{
error
}
})
=>
(
<
Box
>
<
Box
>
<
FormLabel
mb=
{
1
}
>
{
t
(
'common:secret_key'
)
}
</
FormLabel
>
<
FormLabel
mb=
{
1
}
required
>
{
t
(
'common:secret_key'
)
}
</
FormLabel
>
<
Button
<
Button
variant=
{
'whiteBase'
}
variant=
{
'whiteBase'
}
border=
{
'base'
}
border=
{
'base'
}
borderRadius=
{
'md'
}
borderRadius=
{
'md'
}
borderColor=
{
error
?
'red.500'
:
'borderColor.low'
}
leftIcon=
{
leftIcon=
{
<
Box
w=
{
'6px'
}
h=
{
'6px'
}
bg=
{
'primary.600'
}
borderRadius=
{
'md'
}
/>
<
Box
w=
{
'6px'
}
h=
{
'6px'
}
bg=
{
'primary.600'
}
borderRadius=
{
'md'
}
/>
}
}
...
...
projects/app/src/pages/api/admin/initv4124.ts
View file @
cb7d1a32
import
{
NextAPI
}
from
'@/service/middleware/entry'
;
import
{
NextAPI
}
from
'@/service/middleware/entry'
;
import
{
batchRun
}
from
'@fastgpt/global/common/system/utils'
;
import
{
OwnerRoleVal
,
PerResourceTypeEnum
}
from
'@fastgpt/global/support/permission/constant'
;
import
{
OwnerRoleVal
,
PerResourceTypeEnum
}
from
'@fastgpt/global/support/permission/constant'
;
import
{
MongoApp
}
from
'@fastgpt/service/core/app/schema'
;
import
{
MongoApp
}
from
'@fastgpt/service/core/app/schema'
;
import
{
MongoDataset
}
from
'@fastgpt/service/core/dataset/schema'
;
import
{
MongoDataset
}
from
'@fastgpt/service/core/dataset/schema'
;
...
@@ -32,51 +33,60 @@ async function handler(
...
@@ -32,51 +33,60 @@ async function handler(
MongoTeamMember
.
find
({
role
:
'owner'
},
'_id teamId'
).
lean
()
MongoTeamMember
.
find
({
role
:
'owner'
},
'_id teamId'
).
lean
()
]);
]);
await
MongoResourcePermission
.
bulkWrite
(
for
(
let
i
=
0
;
i
<
apps
.
length
;
i
+=
10000
)
{
apps
.
map
((
app
)
=>
({
const
appList
=
apps
.
slice
(
i
,
i
+
10000
);
updateOne
:
{
await
MongoResourcePermission
.
bulkWrite
(
filter
:
{
appList
.
map
((
app
)
=>
({
resourceId
:
app
.
_id
,
updateOne
:
{
resourceType
:
PerResourceTypeEnum
.
app
,
filter
:
{
teamId
:
app
.
teamId
,
resourceId
:
app
.
_id
,
tmbId
:
app
.
tmbId
resourceType
:
PerResourceTypeEnum
.
app
,
},
teamId
:
app
.
teamId
,
update
:
{
tmbId
:
app
.
tmbId
permission
:
OwnerRoleVal
},
},
update
:
{
upsert
:
true
permission
:
OwnerRoleVal
}
},
}))
upsert
:
true
);
}
}))
);
}
await
MongoResourcePermission
.
bulkWrite
(
for
(
let
i
=
0
;
i
<
datasets
.
length
;
i
+=
10000
)
{
datasets
.
map
((
dataset
)
=>
({
const
datasetList
=
datasets
.
slice
(
i
,
i
+
10000
);
updateOne
:
{
await
MongoResourcePermission
.
bulkWrite
(
filter
:
{
datasetList
.
map
((
dataset
)
=>
({
resourceId
:
dataset
.
_id
,
updateOne
:
{
resourceType
:
PerResourceTypeEnum
.
dataset
,
filter
:
{
teamId
:
dataset
.
teamId
,
resourceId
:
dataset
.
_id
,
tmbId
:
dataset
.
tmbId
resourceType
:
PerResourceTypeEnum
.
dataset
,
},
teamId
:
dataset
.
teamId
,
update
:
{
tmbId
:
dataset
.
tmbId
permission
:
OwnerRoleVal
},
},
update
:
{
upsert
:
true
permission
:
OwnerRoleVal
}
},
}))
upsert
:
true
);
}
}))
);
}
await
MongoResourcePermission
.
bulkWrite
(
for
(
let
i
=
0
;
i
<
tmbs
.
length
;
i
+=
10000
)
{
tmbs
.
map
((
team
)
=>
({
const
tmbList
=
tmbs
.
slice
(
i
,
i
+
10000
);
deleteOne
:
{
await
MongoResourcePermission
.
bulkWrite
(
filter
:
{
tmbList
.
map
((
team
)
=>
({
resourceType
:
PerResourceTypeEnum
.
team
,
deleteOne
:
{
teamId
:
team
.
teamId
,
filter
:
{
tmbId
:
team
.
_id
resourceType
:
PerResourceTypeEnum
.
team
,
teamId
:
team
.
teamId
,
tmbId
:
team
.
_id
}
}
}
}
}
))
}))
);
);
}
return
{
return
{
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