fix: make mcp server redis client config based (#2145)

Co-authored-by: daijingze_mac <18373118@buaa.edu.cn>
This commit is contained in:
Jingze
2025-04-29 14:27:48 +08:00
committed by GitHub
parent 806563298b
commit ab73f21017
5 changed files with 21 additions and 21 deletions

View File

@@ -104,7 +104,6 @@ func (p *Parser) Parse(any *anypb.Any, callbacks api.ConfigCallbackHandler) (int
conf.servers = append(conf.servers, &SSEServerWrapper{
BaseServer: common.NewSSEServer(serverInstance,
common.WithRedisClient(common.GlobalRedisClient),
common.WithSSEEndpoint(fmt.Sprintf("%s%s", serverPath, mcp_session.GlobalSSEPathSuffix)),
common.WithMessageEndpoint(serverPath)),
DomainList: serverDomainList,