diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index 47307b491..f1e47e478 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -78,12 +78,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Rewrite image paths - if: matrix.domain_config.suffix == 'io' - run: | - find document/content/docs -name "*.mdx" -type f | while read file; do - sed -i 's|](/imgs/|](https://cdn.jsdelivr.net/gh/labring/fastgpt-img@main/|g' "$file" - done + # - name: Rewrite image paths + # if: matrix.domain_config.suffix == 'io' + # run: | + # find document/content/docs -name "*.mdx" -type f | while read file; do + # sed -i 's|](/imgs/|](https://cdn.jsdelivr.net/gh/labring/fastgpt-img@main/|g' "$file" + # done - name: Docker meta id: meta diff --git a/deploy/docker/docker-compose-milvus.yml b/deploy/docker/docker-compose-milvus.yml index f6ffcfcb1..52a16cdbd 100644 --- a/deploy/docker/docker-compose-milvus.yml +++ b/deploy/docker/docker-compose-milvus.yml @@ -151,8 +151,8 @@ services: fastgpt: container_name: fastgpt - image: ghcr.io/labring/fastgpt:v4.11.1-fix2 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.11.1-fix2 # 阿里云 + image: ghcr.io/labring/fastgpt:v4.12.0 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云 ports: - 3000:3000 networks: @@ -209,15 +209,15 @@ services: - ./config.json:/app/data/config.json sandbox: container_name: sandbox - image: ghcr.io/labring/fastgpt-sandbox:v4.11.1 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.11.1 # 阿里云 + image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云 networks: - fastgpt restart: always fastgpt-mcp-server: container_name: fastgpt-mcp-server - image: ghcr.io/labring/fastgpt-mcp_server:v4.11.1 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.11.1 # 阿里云 + image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云 ports: - 3005:3000 networks: @@ -226,8 +226,8 @@ services: environment: - FASTGPT_ENDPOINT=http://fastgpt:3000 fastgpt-plugin: - image: ghcr.io/labring/fastgpt-plugin:v0.1.7 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.7 # 阿里云 + image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云 container_name: fastgpt-plugin restart: always networks: diff --git a/deploy/docker/docker-compose-oceanbase/docker-compose.yml b/deploy/docker/docker-compose-oceanbase/docker-compose.yml index da001aaa6..0efacec61 100644 --- a/deploy/docker/docker-compose-oceanbase/docker-compose.yml +++ b/deploy/docker/docker-compose-oceanbase/docker-compose.yml @@ -126,8 +126,8 @@ services: fastgpt: container_name: fastgpt - image: ghcr.io/labring/fastgpt:v4.11.1-fix2 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.11.1-fix2 # 阿里云 + image: ghcr.io/labring/fastgpt:v4.12.0 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云 ports: - 3000:3000 networks: @@ -183,15 +183,15 @@ services: - ./config.json:/app/data/config.json sandbox: container_name: sandbox - image: ghcr.io/labring/fastgpt-sandbox:v4.11.1 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.11.1 # 阿里云 + image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云 networks: - fastgpt restart: always fastgpt-mcp-server: container_name: fastgpt-mcp-server - image: ghcr.io/labring/fastgpt-mcp_server:v4.11.1 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.11.1 # 阿里云 + image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云 ports: - 3005:3000 networks: @@ -200,8 +200,8 @@ services: environment: - FASTGPT_ENDPOINT=http://fastgpt:3000 fastgpt-plugin: - image: ghcr.io/labring/fastgpt-plugin:v0.1.7 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.7 # 阿里云 + image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云 container_name: fastgpt-plugin restart: always networks: diff --git a/deploy/docker/docker-compose-pgvector.yml b/deploy/docker/docker-compose-pgvector.yml index cf714c7cd..c502da1b1 100644 --- a/deploy/docker/docker-compose-pgvector.yml +++ b/deploy/docker/docker-compose-pgvector.yml @@ -112,8 +112,8 @@ services: fastgpt: container_name: fastgpt - image: ghcr.io/labring/fastgpt:v4.11.1-fix2 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.11.1-fix2 # 阿里云 + image: ghcr.io/labring/fastgpt:v4.12.0 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云 ports: - 3000:3000 networks: @@ -169,15 +169,15 @@ services: - ./config.json:/app/data/config.json sandbox: container_name: sandbox - image: ghcr.io/labring/fastgpt-sandbox:v4.11.1 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.11.1 # 阿里云 + image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云 networks: - fastgpt restart: always fastgpt-mcp-server: container_name: fastgpt-mcp-server - image: ghcr.io/labring/fastgpt-mcp_server:v4.11.1 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.11.1 # 阿里云 + image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云 ports: - 3005:3000 networks: @@ -186,8 +186,8 @@ services: environment: - FASTGPT_ENDPOINT=http://fastgpt:3000 fastgpt-plugin: - image: ghcr.io/labring/fastgpt-plugin:v0.1.7 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.7 # 阿里云 + image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云 container_name: fastgpt-plugin restart: always networks: diff --git a/deploy/docker/docker-compose-zilliz.yml b/deploy/docker/docker-compose-zilliz.yml index 4e67a283e..1c4a8eef4 100644 --- a/deploy/docker/docker-compose-zilliz.yml +++ b/deploy/docker/docker-compose-zilliz.yml @@ -92,8 +92,8 @@ services: fastgpt: container_name: fastgpt - image: ghcr.io/labring/fastgpt:v4.11.1-fix2 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.11.1-fix2 # 阿里云 + image: ghcr.io/labring/fastgpt:v4.12.0 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云 ports: - 3000:3000 networks: @@ -151,15 +151,15 @@ services: - ./config.json:/app/data/config.json sandbox: container_name: sandbox - image: ghcr.io/labring/fastgpt-sandbox:v4.11.1 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.11.1 # 阿里云 + image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云 networks: - fastgpt restart: always fastgpt-mcp-server: container_name: fastgpt-mcp-server - image: ghcr.io/labring/fastgpt-mcp_server:v4.11.1 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.11.1 # 阿里云 + image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云 ports: - 3005:3000 networks: @@ -168,8 +168,8 @@ services: environment: - FASTGPT_ENDPOINT=http://fastgpt:3000 fastgpt-plugin: - image: ghcr.io/labring/fastgpt-plugin:v0.1.7 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.7 # 阿里云 + image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云 container_name: fastgpt-plugin restart: always networks: diff --git a/deploy/docker/yml.js b/deploy/docker/yml.js index 0a910fb1f..72fab80c7 100644 --- a/deploy/docker/yml.js +++ b/deploy/docker/yml.js @@ -95,8 +95,8 @@ services: fastgpt: container_name: fastgpt - image: ghcr.io/labring/fastgpt:v4.11.1-fix2 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.11.1-fix2 # 阿里云 + image: ghcr.io/labring/fastgpt:v4.12.0 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云 ports: - 3000:3000 networks: @@ -152,15 +152,15 @@ services: - ./config.json:/app/data/config.json sandbox: container_name: sandbox - image: ghcr.io/labring/fastgpt-sandbox:v4.11.1 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.11.1 # 阿里云 + image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云 networks: - fastgpt restart: always fastgpt-mcp-server: container_name: fastgpt-mcp-server - image: ghcr.io/labring/fastgpt-mcp_server:v4.11.1 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.11.1 # 阿里云 + image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云 ports: - 3005:3000 networks: @@ -169,8 +169,8 @@ services: environment: - FASTGPT_ENDPOINT=http://fastgpt:3000 fastgpt-plugin: - image: ghcr.io/labring/fastgpt-plugin:v0.1.7 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.7 # 阿里云 + image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云 container_name: fastgpt-plugin restart: always networks: diff --git a/document/content/docs/upgrading/4-11/meta.json b/document/content/docs/upgrading/4-11/meta.json index b72fcac9a..dcc52023f 100644 --- a/document/content/docs/upgrading/4-11/meta.json +++ b/document/content/docs/upgrading/4-11/meta.json @@ -1,5 +1,5 @@ { - "title": "4.12.x", + "title": "4.11.x", "description": "", - "pages": ["4120"] + "pages": ["4111", "4110"] } diff --git a/document/content/docs/upgrading/4-12/4120.mdx b/document/content/docs/upgrading/4-12/4120.mdx index 9f038d9aa..3302b0dc4 100644 --- a/document/content/docs/upgrading/4-12/4120.mdx +++ b/document/content/docs/upgrading/4-12/4120.mdx @@ -1,5 +1,5 @@ --- -title: 'V4.12.0(进行中)' +title: 'V4.12.0(包含升级脚本)' description: 'FastGPT V4.12.0 更新说明' --- @@ -7,7 +7,23 @@ description: 'FastGPT V4.12.0 更新说明' ### 1. 更新镜像: -### 2. 执行升级脚本 +- 更新 FastGPT 镜像tag: v4.12.0 +- 更新 FastGPT 商业版镜像tag: v4.12.0 +- 更新 fastgpt-plugin 镜像 tag: v0.1.9 +- mcp_server 无需更新 +- Sandbox 无需更新 +- AIProxy 无需更新 + +### 2. 修改环境变量 + +修改 FastGPT 商业版(fastgpt-pro) 环境变量: + +```sh +# 文件阅读时的密钥,与 fastgpt 镜像中环境变量一致 +FILE_TOKEN_KEY=filetokenkey +``` + +### 3. 执行升级脚本 该脚本仅需商业版用户执行。 diff --git a/document/content/docs/upgrading/4-12/meta.json b/document/content/docs/upgrading/4-12/meta.json index b973d73bf..b72fcac9a 100644 --- a/document/content/docs/upgrading/4-12/meta.json +++ b/document/content/docs/upgrading/4-12/meta.json @@ -1,5 +1,5 @@ { - "title": "4.11.x", + "title": "4.12.x", "description": "", - "pages": ["4112", "4111", "4110"] + "pages": ["4120"] } diff --git a/document/content/docs/upgrading/meta.json b/document/content/docs/upgrading/meta.json index e14d6f041..8427f6eaa 100644 --- a/document/content/docs/upgrading/meta.json +++ b/document/content/docs/upgrading/meta.json @@ -4,6 +4,8 @@ "description": "FastGPT 版本更新介绍及升级操作", "pages": [ "index", + "---4.12.x---", + "...4-12", "---4.11.x---", "...4-11", "---4.10.x---", diff --git a/document/data/doc-last-modified.json b/document/data/doc-last-modified.json index c44a1909d..6f456ed8c 100644 --- a/document/data/doc-last-modified.json +++ b/document/data/doc-last-modified.json @@ -21,17 +21,17 @@ "document/content/docs/introduction/development/design/dataset.mdx": "2025-07-23T21:35:03+08:00", "document/content/docs/introduction/development/design/design_plugin.mdx": "2025-07-24T13:00:27+08:00", "document/content/docs/introduction/development/docker.mdx": "2025-08-05T23:20:39+08:00", - "document/content/docs/introduction/development/faq.mdx": "2025-08-09T14:20:10+08:00", + "document/content/docs/introduction/development/faq.mdx": "2025-08-12T22:22:18+08:00", "document/content/docs/introduction/development/intro.mdx": "2025-08-05T23:20:39+08:00", "document/content/docs/introduction/development/migration/docker_db.mdx": "2025-07-23T21:35:03+08:00", "document/content/docs/introduction/development/migration/docker_mongo.mdx": "2025-07-23T21:35:03+08:00", "document/content/docs/introduction/development/modelConfig/ai-proxy.mdx": "2025-08-05T23:20:39+08:00", - "document/content/docs/introduction/development/modelConfig/intro.mdx": "2025-08-09T14:20:10+08:00", + "document/content/docs/introduction/development/modelConfig/intro.mdx": "2025-08-12T22:22:18+08:00", "document/content/docs/introduction/development/modelConfig/one-api.mdx": "2025-07-23T21:35:03+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/openapi/chat.mdx": "2025-08-05T23:20:39+08:00", - "document/content/docs/introduction/development/openapi/dataset.mdx": "2025-08-09T14:20:10+08:00", + "document/content/docs/introduction/development/openapi/dataset.mdx": "2025-08-12T22:22:18+08:00", "document/content/docs/introduction/development/openapi/intro.mdx": "2025-07-23T21:35:03+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", @@ -97,12 +97,12 @@ "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/toc.en.mdx": "2025-08-04T13:42:36+08:00", - "document/content/docs/toc.mdx": "2025-08-12T13:45:56+08:00", + "document/content/docs/toc.mdx": "2025-08-12T22:22:18+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-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/4111.mdx": "2025-08-07T22:49:09+08:00", - "document/content/docs/upgrading/4-12/4120.mdx": "2025-08-12T21:04:44+08:00", + "document/content/docs/upgrading/4-12/4120.mdx": "2025-08-12T22:22:18+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/42.mdx": "2025-08-02T19:38:37+08:00", diff --git a/projects/app/src/components/ProTip/ProModal.tsx b/projects/app/src/components/ProTip/ProModal.tsx index 357e83fb9..6ef7c0725 100644 --- a/projects/app/src/components/ProTip/ProModal.tsx +++ b/projects/app/src/components/ProTip/ProModal.tsx @@ -16,7 +16,13 @@ const ProModal = (props: { isOpen?: boolean; onClose?: () => void }) => { const onClose = props?.onClose ?? (() => setIsOpen(false)); return feConfigs?.isPlus ? null : ( - + = { 'zh-CN': '/imgs/proTag.svg', - 'en-US': '/imgs/proTagEng.svg' + en: '/imgs/proTagEng.svg' }; const ProTag = () => {