mirror of
https://github.com/labring/FastGPT.git
synced 2026-02-28 01:02:28 +08:00
* fix: relax MCP tool JSON Schema Zod validation to accept any type values MCP servers may return JSON Schema with type values outside the standard 6 types. Use z.any() for type and items fields to avoid 500 errors on /api/core/app/mcpTools/getTools. - Remove SchemaInputValueTypeSchema enum and SchemaInputValueType - Remove unnecessary .passthrough() - Use plain string type for function parameters Fixes #6451 * fix: mcp adapt --------- Co-authored-by: c121914yu <yucongcong_test@163.com>
19 lines
294 B
Plaintext
19 lines
294 B
Plaintext
---
|
|
title: 'V4.14.8(进行中)'
|
|
description: 'FastGPT V4.14.8 更新说明'
|
|
---
|
|
|
|
|
|
## 🚀 新增内容
|
|
|
|
|
|
|
|
## ⚙️ 优化
|
|
|
|
1. 兼容 MCP 中 JSON Schema type 类型不在枚举类型里。
|
|
|
|
## 🐛 修复
|
|
|
|
1. 新 SDK 兼容:连续调用同一个 MCP 服务时,多次连接导致报错。
|
|
|