Skip to content

Commit 555a9c4

Browse files
chore(internal): codegen related update
1 parent ce4be56 commit 555a9c4

6 files changed

Lines changed: 97 additions & 97 deletions

File tree

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release Doctor
22
on:
33
pull_request:
44
branches:
5-
- stainless
5+
- main
66
workflow_dispatch:
77

88
jobs:

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 8
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-8fbb3fa8f3a37c1c7408de427fe125aadec49f705e8e30d191601a9b69c4cc41.yml
33
openapi_spec_hash: 48b4dfac35a842d7fb0d228caf87544e
4-
config_hash: 242651c4871c2869ba3c2e3d337505b9
4+
config_hash: 7386d24e2f03a3b2a89b3f6881446348

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "stagehand-alpha"
2+
name = "stagehand"
33
version = "3.5.0"
44
description = "The official Python library for the stagehand API"
55
dynamic = ["readme"]
@@ -122,7 +122,7 @@ path = "README.md"
122122
[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
123123
# replace relative links with absolute links
124124
pattern = '\[(.+?)\]\(((?!https?://)\S+?)\)'
125-
replacement = '[\1](https://github.com/browserbase/stagehand-python/tree/stainless/\g<2>)'
125+
replacement = '[\1](https://github.com/browserbase/stagehand-python/tree/main/\g<2>)'
126126

127127
[tool.pytest.ini_options]
128128
testpaths = ["tests"]

requirements-dev.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ annotated-types==0.7.0
66
anyio==4.12.0
77
# via
88
# httpx
9-
# stagehand-alpha
9+
# stagehand
1010
backports-asyncio-runner==1.2.0 ; python_full_version < '3.11'
1111
# via pytest-asyncio
1212
certifi==2025.11.12
@@ -17,7 +17,7 @@ colorama==0.4.6 ; sys_platform == 'win32'
1717
# via pytest
1818
dirty-equals==0.11
1919
distro==1.9.0
20-
# via stagehand-alpha
20+
# via stagehand
2121
dotenv==0.9.9
2222
exceptiongroup==1.3.1 ; python_full_version < '3.11'
2323
# via
@@ -32,7 +32,7 @@ httpcore==1.0.9
3232
httpx==0.28.1
3333
# via
3434
# respx
35-
# stagehand-alpha
35+
# stagehand
3636
idna==3.11
3737
# via
3838
# anyio
@@ -60,7 +60,7 @@ pathspec==0.12.1
6060
pluggy==1.6.0
6161
# via pytest
6262
pydantic==2.12.5
63-
# via stagehand-alpha
63+
# via stagehand
6464
pydantic-core==2.41.5
6565
# via pydantic
6666
pygments==2.19.2
@@ -89,7 +89,7 @@ ruff==0.14.7
8989
six==1.17.0 ; python_full_version < '3.10'
9090
# via python-dateutil
9191
sniffio==1.3.1
92-
# via stagehand-alpha
92+
# via stagehand
9393
time-machine==2.19.0 ; python_full_version < '3.10'
9494
time-machine==3.1.0 ; python_full_version >= '3.10'
9595
tomli==2.3.0 ; python_full_version < '3.11'
@@ -105,7 +105,7 @@ typing-extensions==4.15.0
105105
# pydantic-core
106106
# pyright
107107
# pytest-asyncio
108-
# stagehand-alpha
108+
# stagehand
109109
# typing-inspection
110110
typing-inspection==0.4.2
111111
# via pydantic

src/stagehand/_streaming.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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"):

0 commit comments

Comments
 (0)