mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-01 17:59:09 +08:00
fix(MCP): Revise the server type judgment logic to ensure the correct… (#5769)
This commit is contained in:
parent
5f09cd2718
commit
e2ffea93af
@ -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