Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
request id might be 0
  • Loading branch information
ihrpr committed Apr 8, 2025
commit 4e0c2837f5f8ac492c3849e7ccc9a45a25d9f007
2 changes: 1 addition & 1 deletion src/server/streamableHttp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ export class StreamableHTTPServerTransport implements Transport {
// after sending all related responses
shouldCloseConnection = true;
}
if (!requestId) {
if (requestId === undefined) {
throw new Error("No request ID provided for the message");
}

Expand Down