mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 05:37:20 +08:00
Fix fastmcp stateless_http deprecation warning (#12108)
Co-authored-by: openhands <openhands@all-hands.dev> Co-authored-by: Rohit Malhotra <rohitvinodmalhotra@gmail.com>
This commit is contained in:
@@ -36,7 +36,7 @@ from openhands.server.shared import conversation_manager, server_config
|
||||
from openhands.server.types import AppMode
|
||||
from openhands.version import get_version
|
||||
|
||||
mcp_app = mcp_server.http_app(path='/mcp')
|
||||
mcp_app = mcp_server.http_app(path='/mcp', stateless_http=True)
|
||||
|
||||
|
||||
def combine_lifespans(*lifespans):
|
||||
|
||||
Reference in New Issue
Block a user