File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11configured_endpoints : 8
22openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-43e6dd4ce19381de488d296e9036fea15bfea9a6f946cf8ccf4e02aecc8fb765.yml
33openapi_spec_hash : f736e7a8acea0d73e1031c86ea803246
4- config_hash : 75b561cd2ba925e4f2a62ec2f1d13738
4+ config_hash : b375728ccf7d33287335852f4f59c293
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ def __stream__(self) -> Iterator[_T]:
5656
5757 try :
5858 for sse in iterator :
59- if sse .data .startswith (" finished" ):
59+ if sse .data .startswith ('{"data":{"status":" finished"' ):
6060 break
6161
6262 if sse .data .startswith ("error" ):
@@ -139,7 +139,7 @@ async def __stream__(self) -> AsyncIterator[_T]:
139139
140140 try :
141141 async for sse in iterator :
142- if sse .data .startswith (" finished" ):
142+ if sse .data .startswith ('{"data":{"status":" finished"' ):
143143 break
144144
145145 if sse .data .startswith ("error" ):
You can’t perform that action at this time.
0 commit comments