Skip to content

Conversation

miguelg719
Copy link
Collaborator

why

Session id is not serialized properly when reconnecting to a session

what changed

Made sure init() calls _createSession() when passing an existing session_id

test plan

@miguelg719 miguelg719 marked this pull request as ready for review July 25, 2025 00:37
@@ -30,6 +30,7 @@ async def _create_session(self):
"modelName": self.model_name,
"verbose": 2 if self.verbose == 3 else self.verbose,
"domSettleTimeoutMs": self.dom_settle_timeout_ms,
"browserbaseSessionID": self.session_id,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if a session exists, it resumes it, correct?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's right, this fixes

@filip-michalsky
Copy link
Collaborator

add a changeset?

@miguelg719 miguelg719 merged commit a7d8c5e into main Jul 25, 2025
8 checks passed
@github-actions github-actions bot mentioned this pull request Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants