From 772c1cde77f042515c9ffc1c78fd180bc2b4d11b Mon Sep 17 00:00:00 2001 From: Archer <545436317@qq.com> Date: Wed, 5 Feb 2025 11:17:38 +0800 Subject: [PATCH] remove log (#3692) --- docSite/content/zh-cn/docs/development/upgrading/4820.md | 4 ++-- files/docker/docker-compose-milvus.yml | 8 ++++---- files/docker/docker-compose-pgvector.yml | 8 ++++---- files/docker/docker-compose-zilliz.yml | 8 ++++---- projects/app/src/service/core/app/workflow.ts | 3 +-- 5 files changed, 15 insertions(+), 16 deletions(-) diff --git a/docSite/content/zh-cn/docs/development/upgrading/4820.md b/docSite/content/zh-cn/docs/development/upgrading/4820.md index ae3069b3d..7aa14d341 100644 --- a/docSite/content/zh-cn/docs/development/upgrading/4820.md +++ b/docSite/content/zh-cn/docs/development/upgrading/4820.md @@ -17,8 +17,8 @@ weight: 804 ### 3. 更新镜像: -- 更新 fastgpt 镜像 tag: v4.8.20 -- 更新 fastgpt-pro 商业版镜像 tag: v4.8.20 +- 更新 fastgpt 镜像 tag: v4.8.20-fix +- 更新 fastgpt-pro 商业版镜像 tag: v4.8.20-fix - Sandbox 镜像无需更新 ### 4. 运行升级脚本 diff --git a/files/docker/docker-compose-milvus.yml b/files/docker/docker-compose-milvus.yml index 9313163e2..3fa68e30b 100644 --- a/files/docker/docker-compose-milvus.yml +++ b/files/docker/docker-compose-milvus.yml @@ -114,15 +114,15 @@ services: # fastgpt sandbox: container_name: sandbox - image: ghcr.io/labring/fastgpt-sandbox:v4.8.20 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.8.20 # 阿里云 + image: ghcr.io/labring/fastgpt-sandbox:v4.8.20-fix # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.8.20-fix # 阿里云 networks: - fastgpt restart: always fastgpt: container_name: fastgpt - image: ghcr.io/labring/fastgpt:v4.8.20 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.8.20 # 阿里云 + image: ghcr.io/labring/fastgpt:v4.8.20-fix # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.8.20-fix # 阿里云 ports: - 3000:3000 networks: diff --git a/files/docker/docker-compose-pgvector.yml b/files/docker/docker-compose-pgvector.yml index d14cbe1e8..3a46ebcea 100644 --- a/files/docker/docker-compose-pgvector.yml +++ b/files/docker/docker-compose-pgvector.yml @@ -72,15 +72,15 @@ services: # fastgpt sandbox: container_name: sandbox - image: ghcr.io/labring/fastgpt-sandbox:v4.8.20 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.8.20 # 阿里云 + image: ghcr.io/labring/fastgpt-sandbox:v4.8.20-fix # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.8.20-fix # 阿里云 networks: - fastgpt restart: always fastgpt: container_name: fastgpt - image: ghcr.io/labring/fastgpt:v4.8.20 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.8.20 # 阿里云 + image: ghcr.io/labring/fastgpt:v4.8.20-fix # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.8.20-fix # 阿里云 ports: - 3000:3000 networks: diff --git a/files/docker/docker-compose-zilliz.yml b/files/docker/docker-compose-zilliz.yml index f30498b78..ffacbe8ad 100644 --- a/files/docker/docker-compose-zilliz.yml +++ b/files/docker/docker-compose-zilliz.yml @@ -53,15 +53,15 @@ services: wait $$! sandbox: container_name: sandbox - image: ghcr.io/labring/fastgpt-sandbox:v4.8.20 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.8.20 # 阿里云 + image: ghcr.io/labring/fastgpt-sandbox:v4.8.20-fix # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.8.20-fix # 阿里云 networks: - fastgpt restart: always fastgpt: container_name: fastgpt - image: ghcr.io/labring/fastgpt:v4.8.20 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.8.20 # 阿里云 + image: ghcr.io/labring/fastgpt:v4.8.20-fix # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.8.20-fix # 阿里云 ports: - 3000:3000 networks: diff --git a/projects/app/src/service/core/app/workflow.ts b/projects/app/src/service/core/app/workflow.ts index 686b52552..070784e17 100644 --- a/projects/app/src/service/core/app/workflow.ts +++ b/projects/app/src/service/core/app/workflow.ts @@ -9,7 +9,6 @@ export const getChatModelNameListByModules = (nodes: StoreNodeItemType[]): strin return model ? getLLMModel(model)?.name : ''; }) .filter(Boolean); - console.log(JSON.stringify(nodes, null, 2), '---='); - console.log(modelList, '---='); + return Array.from(new Set(modelList)); };