We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4dcaa2 commit af4a838Copy full SHA for af4a838
1 file changed
src/backend/bisheng/api/services/tool.py
@@ -87,7 +87,7 @@ async def parse_mcp_schema(self, file_content: str) -> GptsToolsTypeRead:
87
for key, value in mcp_servers.items():
88
# 解析mcp服务配置
89
tool_type = GptsToolsTypeRead(name=value.get('name', ''),
90
- server_host=value.get('url'),
+ server_host=value.get('url', ''),
91
description=value.get('description', ''),
92
is_preset=ToolPresetType.MCP.value,
93
openapi_schema=file_content,
0 commit comments