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
[stagehand::init] launching local browser
[stagehand::init] local browser started successfully.
[stagehand::extract] running extract
[stagehand::extraction] starting extraction using old approach
[stagehand::extraction] received output from processDom.
[stagehand::anthropic] creating chat completion
[stagehand::base_cache] Lock acquired
[stagehand::base_cache] Lock released
[stagehand::llm_cache] LLM cache miss - no cached response found
[stagehand::extract] error extracting
[stagehand::llm_cache] cleaning up cache
[stagehand::base_cache] Lock acquired
[stagehand::base_cache] no cache entries found for requestId
[stagehand::base_cache] Lock released
[stagehand::base_cache] uncaught exception
[stagehand::base_cache] uncaught exception
Tried removing the ADISDKClient and using modelName: "claude-3-5-sonnet-latest" but no luck.
Added claude api key, 2048 example works.
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
Thanks, that helped debug it!
Got an authentication error claiming Anthropic API key was missing, even though I've added it in the env vars and it worked in the 2048 example.
Turns out, removing the stagehand config from the new stagehand initialization fixes it:
Trying the ai_sdk_example.
[stagehand::init] launching local browser
[stagehand::init] local browser started successfully.
[stagehand::extract] running extract
[stagehand::extraction] starting extraction using old approach
[stagehand::extraction] received output from processDom.
[stagehand::anthropic] creating chat completion
[stagehand::base_cache] Lock acquired
[stagehand::base_cache] Lock released
[stagehand::llm_cache] LLM cache miss - no cached response found
[stagehand::extract] error extracting
[stagehand::llm_cache] cleaning up cache
[stagehand::base_cache] Lock acquired
[stagehand::base_cache] no cache entries found for requestId
[stagehand::base_cache] Lock released
[stagehand::base_cache] uncaught exception
[stagehand::base_cache] uncaught exception
Tried removing the ADISDKClient and using modelName: "claude-3-5-sonnet-latest" but no luck.
Added claude api key, 2048 example works.
What am I doing wrong?
The text was updated successfully, but these errors were encountered: