Skip to content

Conversation

miguelg719
Copy link
Collaborator

why

On api mode env:BROWSERBASE the metrics (token usage, inference speed) are not being handled properly client-side
This PR addresses: #926

what changed

Updated stagehand.metrics to return a promise, that will resolve depending on the environment whenever metrics are received and parsed from api or immediately when running local

test plan

Copy link

changeset-bot bot commented Aug 26, 2025

🦋 Changeset detected

Latest commit: c842397

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

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

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.

1 participant