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 4f0b5d7 commit bdcdc7fCopy full SHA for bdcdc7f
sky/client/sdk.py
@@ -2106,7 +2106,9 @@ def stream_and_get(
2106
stream_request_id: Optional[server_common.RequestId[
2107
T]] = server_common.get_stream_request_id(response)
2108
if request_id is not None and stream_request_id is not None:
2109
- assert request_id == stream_request_id
+ assert stream_request_id.startswith(request_id), (
2110
+ f'Stream request ID {stream_request_id} does not start with '
2111
+ f'request ID {request_id}')
2112
if request_id is None:
2113
request_id = stream_request_id
2114
elif response.status_code != 200:
0 commit comments