Skip to content

Conversation

@seanmcguire12
Copy link
Member

why

  • need to be able add parameters of observe in inference.ts without adding parameters to the user facing page.observe() function

what changed

  • in this PR, we now pass the observeHandler into the actHandler so that we can call the observeHandler.observe() function instead of calling page.observe() inside the actHandler

@changeset-bot
Copy link

changeset-bot bot commented Mar 17, 2025

🦋 Changeset detected

Latest commit: 5b88990

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@browserbasehq/stagehand Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@seanmcguire12 seanmcguire12 added act These changes pertain to the act function observe These changes pertain to the observe function combination These changes affect multiple Stagehand functions labels Mar 17, 2025
@seanmcguire12 seanmcguire12 merged commit e483484 into main Mar 20, 2025
15 checks passed
@github-actions github-actions bot mentioned this pull request Mar 19, 2025
kamath pushed a commit that referenced this pull request Mar 25, 2025
* pass observeHandler into actHandler

* changeset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

act These changes pertain to the act function combination These changes affect multiple Stagehand functions observe These changes pertain to the observe function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants