diff --git a/deploy/docker/docker-compose-milvus.yml b/deploy/docker/docker-compose-milvus.yml index 5e9c08ee4..f875d61ec 100644 --- a/deploy/docker/docker-compose-milvus.yml +++ b/deploy/docker/docker-compose-milvus.yml @@ -114,15 +114,15 @@ services: # fastgpt sandbox: container_name: sandbox - image: ghcr.io/labring/fastgpt-sandbox:v4.9.1-fix2 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.1-fix2 # 阿里云 + image: ghcr.io/labring/fastgpt-sandbox:v4.9.3 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.3 # 阿里云 networks: - fastgpt restart: always fastgpt: container_name: fastgpt - image: ghcr.io/labring/fastgpt:v4.9.1-fix2 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.1-fix2 # 阿里云 + image: ghcr.io/labring/fastgpt:v4.9.3 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.3 # 阿里云 ports: - 3000:3000 networks: diff --git a/deploy/docker/docker-compose-pgvector.yml b/deploy/docker/docker-compose-pgvector.yml index 3ae7139be..0a21d9c29 100644 --- a/deploy/docker/docker-compose-pgvector.yml +++ b/deploy/docker/docker-compose-pgvector.yml @@ -72,15 +72,15 @@ services: # fastgpt sandbox: container_name: sandbox - image: ghcr.io/labring/fastgpt-sandbox:v4.9.1-fix2 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.1-fix2 # 阿里云 + image: ghcr.io/labring/fastgpt-sandbox:v4.9.3 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.3 # 阿里云 networks: - fastgpt restart: always fastgpt: container_name: fastgpt - image: ghcr.io/labring/fastgpt:v4.9.1-fix2 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.1-fix2 # 阿里云 + image: ghcr.io/labring/fastgpt:v4.9.3 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.3 # 阿里云 ports: - 3000:3000 networks: @@ -132,7 +132,7 @@ services: # AI Proxy aiproxy: - image: ghcr.io/labring/aiproxy:v0.1.3 + image: ghcr.io/labring/aiproxy:v0.1.5 # image: registry.cn-hangzhou.aliyuncs.com/labring/aiproxy:v0.1.3 # 阿里云 container_name: aiproxy restart: unless-stopped diff --git a/deploy/docker/docker-compose-zilliz.yml b/deploy/docker/docker-compose-zilliz.yml index b4b11c4a7..8e2c0bb7a 100644 --- a/deploy/docker/docker-compose-zilliz.yml +++ b/deploy/docker/docker-compose-zilliz.yml @@ -53,15 +53,15 @@ services: wait $$! sandbox: container_name: sandbox - image: ghcr.io/labring/fastgpt-sandbox:v4.9.1-fix2 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.1-fix2 # 阿里云 + image: ghcr.io/labring/fastgpt-sandbox:v4.9.3 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.3 # 阿里云 networks: - fastgpt restart: always fastgpt: container_name: fastgpt - image: ghcr.io/labring/fastgpt:v4.9.1-fix2 # git - # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.1-fix2 # 阿里云 + image: ghcr.io/labring/fastgpt:v4.9.3 # git + # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.3 # 阿里云 ports: - 3000:3000 networks: diff --git a/docSite/content/zh-cn/docs/development/upgrading/492.md b/docSite/content/zh-cn/docs/development/upgrading/492.md index 5338a9eb3..abcd04488 100644 --- a/docSite/content/zh-cn/docs/development/upgrading/492.md +++ b/docSite/content/zh-cn/docs/development/upgrading/492.md @@ -1,5 +1,5 @@ --- -title: 'V4.9.2(进行中)' +title: 'V4.9.2' description: 'FastGPT V4.9.2 更新说明' icon: 'upgrade' draft: false @@ -8,6 +8,8 @@ weight: 798 --- ## 更新指南 +可直接升级v4.9.3,v4.9.2存在一个工作流数据类型转化错误。 + ### 1. 做好数据库备份 ### 2. SSO 迁移 diff --git a/docSite/content/zh-cn/docs/development/upgrading/493.md b/docSite/content/zh-cn/docs/development/upgrading/493.md new file mode 100644 index 000000000..5dcefc3cc --- /dev/null +++ b/docSite/content/zh-cn/docs/development/upgrading/493.md @@ -0,0 +1,29 @@ +--- +title: 'V4.9.3' +description: 'FastGPT V4.9.3 更新说明' +icon: 'upgrade' +draft: false +toc: true +weight: 797 +--- + +## 更新指南 + +### 1. 做好数据库备份 + +### 2. 更新镜像 + +- 更新 FastGPT 镜像 tag: v4.9.3 +- 更新 FastGPT 商业版镜像 tag: v4.9.3 +- Sandbox 镜像tag: v4.9.3 +- AIProxy 镜像tag: v0.1.5 + + +## 🚀 新增内容 + +1. 工作流 debug 模式支持交互节点。 +2. 代码运行支持 Python3 代码。 + +## 🐛 修复 + +1. 工作流格式转化异常。 diff --git a/test/cases/function/packages/global/common/string/textSplitter.test.ts b/test/cases/function/packages/global/common/string/textSplitter.test.ts index 5390acc50..baac2475d 100644 --- a/test/cases/function/packages/global/common/string/textSplitter.test.ts +++ b/test/cases/function/packages/global/common/string/textSplitter.test.ts @@ -451,10 +451,7 @@ it(`Test splitText2Chunks 1`, () => { }; const { chunks } = splitText2Chunks({ customReg: ['\\n\\n'], text: mock.text, chunkSize: 2000 }); - fs.writeFileSync( - '/Users/yjl/fastgpt-pro/FastGPT/test/cases/function/packages/global/common/string/test.md', - chunks.join('------') - ); + expect(chunks).toEqual(mock.result); });