Skip to content

fix timeout bb session error #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 19, 2025
Merged

fix timeout bb session error #31

merged 1 commit into from
Mar 19, 2025

Conversation

filip-michalsky
Copy link
Collaborator

This fixes the error of not re-initializing Stagehand MCP if bb session expires.

This PR does not address the following:
Currently, the only way the session ends is via timeout since the MCP server does not take a command to close a session (should it?)

@alexdphan
Copy link
Contributor

It's hard to tell when the session should be closed unless we explicitly mention it. Giving the LLM the decision to close could be inconvenient.

@alexdphan alexdphan merged commit c3969c3 into main Mar 19, 2025
@alexdphan alexdphan deleted the fm/stg-208-fix-timeout branch March 19, 2025 23:35
@filip-michalsky
Copy link
Collaborator Author

@alexdphan fully agreed. I don't think the LLM should be given the option to close the session. the 15 min timeout is a decent middle ground imho

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants