midscene icon indicating copy to clipboard operation
midscene copied to clipboard

[Bug] MIDSCENE_USE_ANTHROPIC_SDK=1 Environment Variable Not Working in Chrome Extension Configuration

Open sincerity711 opened this issue 1 year ago • 2 comments

Where are you using Midscene.js
Chrome extension

The version of Midscene.js
Chrome extension: December 16, 2024

The model name and endpoint (if could be public)
claude-3-5-sonnet-20240620

The error message
The MIDSCENE_USE_ANTHROPIC_SDK=1 environment variable is not recognized or effective when configured in the Chrome extension settings.

Additional Notes
When using YAML configuration and Puppeteer, the environment variable works as expected. However, it does not take effect when using the Chrome extension. If additional debugging steps are required, please let me know.

sincerity711 avatar Dec 26 '24 09:12 sincerity711

Hi, the extension version that supports Anthropic has just been declined by Chrome Extension Store due to permission issues. We are still finding a way to solve this. 😭

You may use the zip package of the extension from the GitHub Action for temporary purposes, which can be found in the 'Artifacts' section of the workflow.https://github.com/web-infra-dev/midscene/actions/runs/12500048856

yuyutaotao avatar Dec 27 '24 01:12 yuyutaotao

The latest v0.15 extension has been released in the Chrome Extension store. You can give it a try.

yuyutaotao avatar Dec 29 '24 02:12 yuyutaotao