mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 12:20:34 +00:00
update doc (#4589)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: 'V4.9.6(进行中)'
|
||||
title: 'V4.9.6'
|
||||
description: 'FastGPT V4.9.6 更新说明'
|
||||
icon: 'upgrade'
|
||||
draft: false
|
||||
@@ -7,11 +7,6 @@ toc: true
|
||||
weight: 794
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## 🚀 新增内容
|
||||
|
||||
1. 以 MCP 方式对外提供应用调用。
|
||||
@@ -35,4 +30,56 @@ weight: 794
|
||||
|
||||
1. 修复子工作流包含交互节点时,未成功恢复子工作流所有数据。
|
||||
2. completion v1 接口,未接受 interactive 参数,导致 API 调用失败。
|
||||
3. 连续工具调用,上下文截断异常
|
||||
3. 连续工具调用,上下文截断异常
|
||||
|
||||
## 升级指南
|
||||
### 1. 做好数据备份
|
||||
|
||||
### 2. 部署 MCP server 服务
|
||||
|
||||
#### Docker 部署
|
||||
|
||||
在`docker-compose.yml`文件中,加入`fastgpt-mcp-server`服务:
|
||||
|
||||
```yml
|
||||
fastgpt-mcp-server:
|
||||
container_name: fastgpt-mcp-server
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.6
|
||||
ports:
|
||||
- 3005:3000
|
||||
networks:
|
||||
- fastgpt
|
||||
restart: always
|
||||
environment:
|
||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||
```
|
||||
|
||||
#### Sealos 部署
|
||||
|
||||
直接在`应用管理`中,增加一个`fastgpt-mcp-server`应用,镜像为`ghcr.io/labring/fastgpt-mcp_server:v4.9.6`,并设置环境变量`FASTGPT_ENDPOINT=fastgpt 的访问地址`。
|
||||
|
||||
### 3. 修改 FastGPT 容器环境变量
|
||||
|
||||
#### 开源版
|
||||
|
||||
修改`config.json`配置文件,增加: `"feconfigs.mcpServerProxyEndpoint": "fastgpt-mcp-server 的访问地址"`, 末尾不要携带/,例如:
|
||||
```json
|
||||
{
|
||||
"feConfigs": {
|
||||
"lafEnv": "https://laf.dev",
|
||||
"mcpServerProxyEndpoint": "https://mcp.fastgpt.cn"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
#### 商业版
|
||||
|
||||
在 Admin 后台,`系统配置-基础配置-系统参数`中的`MCP 转发服务地址`中,设置`fastgpt-mcp-server`的公网访问地址。
|
||||
|
||||
### 4. 更新镜像 tag
|
||||
|
||||
- 更新 FastGPT 镜像 tag: v4.9.6
|
||||
- 更新 FastGPT 商业版镜像 tag: v4.9.6
|
||||
- 更新 Sandbox 镜像 tag: v4.9.6
|
||||
- 增加 FastGPT mcp server 镜像 tag: v4.9.6
|
||||
- AIProxy 无需更新
|
||||
|
Reference in New Issue
Block a user