mcp-go
mcp-go copied to clipboard
refactor(server): replace sync.Map with Sessionizer interface for session management
Additional question:
Currently, ClientSession is an interface, but when we use implementations like Redis for session management, storage becomes a new issue.
This part requires comprehensive consideration—should we consider changing ClientSession to a struct?
Summary by CodeRabbit
-
New Features
- Introduced an enhanced session management module that streamlines the handling of client sessions and notifications.
-
Refactor
- Updated the underlying session operations to adopt a more modular approach, improving overall reliability and maintainability.
Have you tried telling it to clear the existing text in your prompt?
I use default prompt for deepseek-reasoner. There is no relavent instructions and clear text in search box is not an option for agent.
您的邮件我已经收到
您的邮件我已经收到