Skip to content
New issue

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

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

Already on GitHub? # to your account

Set stagehand env to "LOCAL" if we default to "LOCAL" #320

Merged
merged 2 commits into from
Dec 18, 2024
Merged

Conversation

kamath
Copy link
Contributor

@kamath kamath commented Dec 18, 2024

why

If the user sets env "BROWSERBASE" with no api key, we default to "LOCAL". This should modify the Stagehand object itself

test plan

tested locally with no browserbase api key and stagehand.env was "LOCAL"

@kamath kamath marked this pull request as ready for review December 18, 2024 11:01
@kamath kamath merged commit c0cdd0e into main Dec 18, 2024
3 checks passed
@github-actions github-actions bot mentioned this pull request Dec 18, 2024
kamath added a commit that referenced this pull request Jan 3, 2025
Set stagehand env to "LOCAL" if we default to "LOCAL" (#320)

* bug fix: set this.env to LOCAL if BROWSERBASE_API_KEY is not defined

* changeset

[2.0] Wrap StagehandPage and StagehandContext (#319)

* [feat]: start to wrap page

* ignore pnpm lock

* wrap

* temp

* rewrite example

* sample playwright

* working with context

* e2e pass context

* rm example

* uploads/downloads e2e

* ci e2e

* CI env

* changeset

* cleanup context test

update extract_capacitor_info eval (#323)

* use new site

* prettier

Only startDomDebug if it's enabled (#325)

* Only startDomDebug if it's enabled

* changeset

---------

rebase

Version Packages (#321)

Reduce eval spend (#337)

Remove duplicate logging and export page/context types (#344)

Throw custom error if context is referenced without initialization (#353)

* Throw error if context is referenced without initialization. Also remove act/extract handlers from lib/index

* changeset

fix(logger): enable disabling logger (#355)

[fix]: Fix -types exposed to the client to match the expected contract (#358)

Remove Stagehand Nav (#360)

* Remove Stagehand Nav

* changeset

Co-Authored-By: Anirudh Kamath <github@kamath.io>
Co-Authored-By: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants