Fix: Prevent session manager shutdown on individual session crash (#841)

Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Inna Harper <inna.hrpr@gmail.com>
This commit is contained in:
Brian Soby 2025-07-09 08:43:21 -06:00 • committed by GitHub
commit 7b1078b515
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -173,6 +173,11 @@ class StreamableHTTPServerTransport:
] = {}
self._terminated = False
@property
def is_terminated(self) -> bool:
"""Check if this transport has been explicitly terminated."""
return self._terminated
def _create_error_response(
self,
error_message: str,