Skip to content

Commit 5e3ec4d

Browse files
authored
Update doc (#4725)
* doc * doc * config
1 parent 360a2ec commit 5e3ec4d

File tree

6 files changed

+44
-38
lines changed

6 files changed

+44
-38
lines changed

deploy/docker/docker-compose-milvus.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,26 +121,26 @@ services:
121121
command: |
122122
redis-server --requirepass mypassword --loglevel warning --maxclients 10000 --appendonly yes --save 60 10 --maxmemory 4gb --maxmemory-policy noeviction
123123
healthcheck:
124-
test: [ "CMD", "redis-cli", "-a", "mypassword", "ping" ]
124+
test: ['CMD', 'redis-cli', '-a', 'mypassword', 'ping']
125125
interval: 10s
126126
timeout: 3s
127127
retries: 3
128-
start_period: 30s
128+
start_period: 30s
129129
volumes:
130130
- ./redis/data:/data
131131

132132
# fastgpt
133133
sandbox:
134134
container_name: sandbox
135-
image: ghcr.io/labring/fastgpt-sandbox:v4.9.7-fix # git
136-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.7-fix # 阿里云
135+
image: ghcr.io/labring/fastgpt-sandbox:v4.9.7-fix2 # git
136+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.7-fix2 # 阿里云
137137
networks:
138138
- fastgpt
139139
restart: always
140140
fastgpt-mcp-server:
141141
container_name: fastgpt-mcp-server
142-
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.7-fix # git
143-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.7-fix # 阿里云
142+
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.7-fix2 # git
143+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.7-fix2 # 阿里云
144144
ports:
145145
- 3005:3000
146146
networks:
@@ -150,8 +150,8 @@ services:
150150
- FASTGPT_ENDPOINT=http://fastgpt:3000
151151
fastgpt:
152152
container_name: fastgpt
153-
image: ghcr.io/labring/fastgpt:v4.9.7-fix # git
154-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.7-fix # 阿里云
153+
image: ghcr.io/labring/fastgpt:v4.9.7-fix2 # git
154+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.7-fix2 # 阿里云
155155
ports:
156156
- 3000:3000
157157
networks:

deploy/docker/docker-compose-oceanbase/docker-compose.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,19 +99,25 @@ services:
9999
redis-server --requirepass mypassword --loglevel warning --maxclients 10000 --appendonly yes --save 60 10 --maxmemory 4gb --maxmemory-policy noeviction
100100
volumes:
101101
- ./redis/data:/data
102+
healthcheck:
103+
test: ['CMD', 'redis-cli', '-a', 'mypassword', 'ping']
104+
interval: 10s
105+
timeout: 3s
106+
retries: 3
107+
start_period: 30s
102108

103109
# fastgpt
104110
sandbox:
105111
container_name: sandbox
106-
image: ghcr.io/labring/fastgpt-sandbox:v4.9.7-fix # git
107-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.7-fix # 阿里云
112+
image: ghcr.io/labring/fastgpt-sandbox:v4.9.7-fix2 # git
113+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.7-fix2 # 阿里云
108114
networks:
109115
- fastgpt
110116
restart: always
111117
fastgpt-mcp-server:
112118
container_name: fastgpt-mcp-server
113-
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.7-fix # git
114-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.7-fix # 阿里云
119+
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.7-fix2 # git
120+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.7-fix2 # 阿里云
115121
ports:
116122
- 3005:3000
117123
networks:
@@ -121,8 +127,8 @@ services:
121127
- FASTGPT_ENDPOINT=http://fastgpt:3000
122128
fastgpt:
123129
container_name: fastgpt
124-
image: ghcr.io/labring/fastgpt:v4.9.7-fix # git
125-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.7-fix # 阿里云
130+
image: ghcr.io/labring/fastgpt:v4.9.7-fix2 # git
131+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.7-fix2 # 阿里云
126132
ports:
127133
- 3000:3000
128134
networks:

deploy/docker/docker-compose-pgvector.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ services:
2222
- POSTGRES_DB=postgres
2323
volumes:
2424
- ./pg/data:/var/lib/postgresql/data
25+
healthcheck:
26+
test: ['CMD', 'pg_isready', '-U', 'postgres', '-d', 'aiproxy']
27+
interval: 5s
28+
timeout: 5s
29+
retries: 10
2530
mongo:
2631
image: mongo:5.0.18 # dockerhub
2732
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/mongo:5.0.18 # 阿里云
@@ -80,26 +85,26 @@ services:
8085
command: |
8186
redis-server --requirepass mypassword --loglevel warning --maxclients 10000 --appendonly yes --save 60 10 --maxmemory 4gb --maxmemory-policy noeviction
8287
healthcheck:
83-
test: [ "CMD", "redis-cli", "-a", "mypassword", "ping" ]
88+
test: ['CMD', 'redis-cli', '-a', 'mypassword', 'ping']
8489
interval: 10s
8590
timeout: 3s
8691
retries: 3
87-
start_period: 30s
92+
start_period: 30s
8893
volumes:
8994
- ./redis/data:/data
9095

9196
# fastgpt
9297
sandbox:
9398
container_name: sandbox
94-
image: ghcr.io/labring/fastgpt-sandbox:v4.9.7-fix # git
95-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.7-fix # 阿里云
99+
image: ghcr.io/labring/fastgpt-sandbox:v4.9.7-fix2 # git
100+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.7-fix2 # 阿里云
96101
networks:
97102
- fastgpt
98103
restart: always
99104
fastgpt-mcp-server:
100105
container_name: fastgpt-mcp-server
101-
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.7-fix # git
102-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.7-fix # 阿里云
106+
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.7-fix2 # git
107+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.7-fix2 # 阿里云
103108
ports:
104109
- 3005:3000
105110
networks:
@@ -109,8 +114,8 @@ services:
109114
- FASTGPT_ENDPOINT=http://fastgpt:3000
110115
fastgpt:
111116
container_name: fastgpt
112-
image: ghcr.io/labring/fastgpt:v4.9.7-fix-fix # git
113-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.7-fix # 阿里云
117+
image: ghcr.io/labring/fastgpt:v4.9.7-fix2 # git
118+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.7-fix2 # 阿里云
114119
ports:
115120
- 3000:3000
116121
networks:

deploy/docker/docker-compose-zilliz.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,25 +62,25 @@ services:
6262
command: |
6363
redis-server --requirepass mypassword --loglevel warning --maxclients 10000 --appendonly yes --save 60 10 --maxmemory 4gb --maxmemory-policy noeviction
6464
healthcheck:
65-
test: [ "CMD", "redis-cli", "-a", "mypassword", "ping" ]
65+
test: ['CMD', 'redis-cli', '-a', 'mypassword', 'ping']
6666
interval: 10s
6767
timeout: 3s
6868
retries: 3
69-
start_period: 30s
69+
start_period: 30s
7070
volumes:
7171
- ./redis/data:/data
7272

7373
sandbox:
7474
container_name: sandbox
75-
image: ghcr.io/labring/fastgpt-sandbox:v4.9.7-fix # git
76-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.7-fix # 阿里云
75+
image: ghcr.io/labring/fastgpt-sandbox:v4.9.7-fix2 # git
76+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.7-fix2 # 阿里云
7777
networks:
7878
- fastgpt
7979
restart: always
8080
fastgpt-mcp-server:
8181
container_name: fastgpt-mcp-server
82-
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.7-fix # git
83-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.7-fix # 阿里云
82+
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.7-fix2 # git
83+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.7-fix2 # 阿里云
8484
ports:
8585
- 3005:3000
8686
networks:
@@ -90,8 +90,8 @@ services:
9090
- FASTGPT_ENDPOINT=http://fastgpt:3000
9191
fastgpt:
9292
container_name: fastgpt
93-
image: ghcr.io/labring/fastgpt:v4.9.7-fix # git
94-
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.7-fix # 阿里云
93+
image: ghcr.io/labring/fastgpt:v4.9.7-fix2 # git
94+
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.7-fix2 # 阿里云
9595
ports:
9696
- 3000:3000
9797
networks:

docSite/content/zh-cn/docs/development/upgrading/497.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ weight: 793
1313

1414
### 2. 更新镜像 tag
1515

16-
- 更新 FastGPT 镜像 tag: v4.9.7-fix
16+
- 更新 FastGPT 镜像 tag: v4.9.7-fix2
1717
- 更新 FastGPT 商业版镜像 tag: v4.9.7
1818
- mcp_server 无需更新
1919
- Sandbox 无需更新
@@ -40,6 +40,7 @@ weight: 793
4040
3. 对话时间统计,准确返回工作流整体运行时间。
4141
4. 从 ai_proxy 获取音频解析时长。
4242
5. AI 模型 Token 值均优先采用 API usage,确保 tokens 值准确,若为空,则再采用 GPT3.5 的估算方式。
43+
6. 优化对话日志 list 接口,适配单个对话框,大量对话的场景。
4344

4445
## 🐛 修复
4546

@@ -54,4 +55,5 @@ weight: 793
5455
9. 文本内容提取节点,默认值赋值逻辑。
5556
10. 分享链接中,会强制返回嵌套应用中的引用内容。
5657
11. 知识库集合元数据过滤时,不同知识库的同名标签使用 $and 筛选无法获取结果。
58+
12. 修复应用列表,权限配置可能出现 index 刷新问题。
5759

projects/app/src/pageComponents/account/model/AddModelBox.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -582,13 +582,6 @@ export const ModelEditModal = ({
582582
</Flex>
583583
</Td>
584584
</Tr>
585-
<Tr>
586-
<Td textAlign={'right'}>
587-
<Flex justifyContent={'flex-end'}>
588-
<Switch {...register('functionCall')} />
589-
</Flex>
590-
</Td>
591-
</Tr>
592585
<Tr>
593586
<Td>
594587
<HStack spacing={1}>

0 commit comments

Comments
 (0)