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
Where are you using Midscene.js (Chrome extension, yaml with cli, Puppeteer,…)
Chrome extension
The version of Midscene.js or Extension
Midscene.js Chrome Extension v0.17
The error message
It looks like you're running in a browser-like environment.
This is disabled by default, as it risks exposing your secret API credentials to attackers.
If you understand the risks and have appropriate mitigations in place,
you can set the `dangerouslyAllowBrowser` option to `true`, e.g.,
new Anthropic({ apiKey, dangerouslyAllowBrowser: true });
Error: It looks like you're running in a browser-like environment.
This is disabled by default, as it risks exposing your secret API credentials to attackers.
If you understand the risks and have appropriate mitigations in place,
you can set the `dangerouslyAllowBrowser` option to `true`, e.g.,
new Anthropic({ apiKey, dangerouslyAllowBrowser: true });
The model name and endpoint (if could be public)
export MIDSCENE_USE_ANTHROPIC_SDK=1
export ANTHROPIC_API_KEY="....."
export MIDSCENE_MODEL_NAME="claude-3-opus-20240229"
The text was updated successfully, but these errors were encountered:
Where are you using Midscene.js (Chrome extension, yaml with cli, Puppeteer,…)
Chrome extension
The version of Midscene.js or Extension
Midscene.js Chrome Extension v0.17
The error message
export MIDSCENE_USE_ANTHROPIC_SDK=1
export ANTHROPIC_API_KEY="....."
export MIDSCENE_MODEL_NAME="claude-3-opus-20240229"
The text was updated successfully, but these errors were encountered: