fix(MCP): Revise the server type judgment logic to ensure the correct… (#5769)

This commit is contained in:
Roland 2025-05-08 20:57:48 +08:00 committed by GitHub
parent 5f09cd2718
commit e2ffea93af

View File

@ -250,7 +250,7 @@ const McpSettings: React.FC = () => {
}
// set stdio or sse server
if (values.serverType === 'sse' || server.type === 'streamableHttp') {
if (values.serverType === 'sse' || values.serverType === 'streamableHttp') {
mcpServer.baseUrl = values.baseUrl
} else {
mcpServer.command = values.command