You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use the browser extract command with Gemini model, the command fails with API key configuration issues despite setting up the API key in multiple ways.
I'm afraid that this is because Stagehand does not support Google/Gemini at the moment. We would have to implement our own gemini client for Stagehand to support this. You can raise this with Stagehand here: https://github.com/browserbase/stagehand
I will keep the issue open though in case we decide to implement a Gemini Client (I have implemented a Groq client for stagehand) or if someone finds a Gemini client for Stagehand that we can use
Description
When trying to use the
browser extract
command with Gemini model, the command fails with API key configuration issues despite setting up the API key in multiple ways.Environment
Steps to Reproduce
Current Behavior
The command fails with the error:
Even though the model is recognized (as shown in the config output):
Expected Behavior
The command should successfully use the Gemini model with the provided API key to perform the extraction.
Questions
Additional Context
repo
commandThe text was updated successfully, but these errors were encountered: