Commit dfa8c05
committed
Route Context.report_progress() to the originating request stream
Context.report_progress() called send_progress_notification() without
related_request_id, so on Streamable HTTP the progress notification was
routed to the standalone GET stream instead of the originating POST's SSE
response. If the client had not yet opened (or never opens) the GET stream,
the notification was silently dropped.
Context.log(), elicit(), and elicit_url() already pass
related_request_id=self.request_id; this brings report_progress() in line.1 parent 777b8d0 commit dfa8c05
2 files changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1177 | 1177 | | |
1178 | 1178 | | |
1179 | 1179 | | |
| 1180 | + | |
1180 | 1181 | | |
1181 | 1182 | | |
1182 | 1183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
0 commit comments