mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-29 14:31:35 +08:00
fix(MCP): Revise the server type judgment logic to ensure the correct… (#5769)
This commit is contained in:
parent
cdbba49dd5
commit
0e202509d3
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user