From 06ae01b1418203544b1400ade19e45dfc8e0ed17 Mon Sep 17 00:00:00 2001 From: cryo Date: Thu, 3 Jul 2025 00:38:25 +0800 Subject: [PATCH] mcp/streamable: fix typos (#83)   This PR updates the comments for `StreamableServerTransport.streamRequests` to correct typos and improve clarity. --- mcp/streamable.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mcp/streamable.go b/mcp/streamable.go index da950fb..db3add8 100644 --- a/mcp/streamable.go +++ b/mcp/streamable.go @@ -223,13 +223,13 @@ type StreamableServerTransport struct { // TODO(rfindley): clean up once requests are handled. requestStreams map[JSONRPCID]streamID - // outstandingRequests tracks the set of unanswered incoming RPCs for each logical + // streamRequests tracks the set of unanswered incoming RPCs for each logical // stream. // // When the server has responded to each request, the stream should be // closed. // - // Lifecycle: outstandingRequests values persist as until the requests have been + // Lifecycle: streamRequests values persist as until the requests have been // replied to by the server. Notably, NOT until they are sent to an HTTP // response, as delivery is not guaranteed. streamRequests map[streamID]map[JSONRPCID]struct{}