We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7cc254 commit a666775Copy full SHA for a666775
src/mcp/client/sse.py
@@ -105,6 +105,9 @@ async def sse_reader(
105
task_status.started(endpoint_url)
106
107
case "message":
108
+ # Skip empty data (keep-alive pings)
109
+ if not sse.data:
110
+ return False
111
try:
112
message = types.JSONRPCMessage.model_validate_json( # noqa: E501
113
sse.data
0 commit comments