Hello,
I've been developing a Chrome extension locally using the prompt API. I haven't whitelisted the extension for the origin trial but instead have set the Chrome flags to enable the on-device preview.
With Chrome 136 I could reference LanguageModel in this extension service worker and it would work well for development.
However, in Chrome 137 that has stopped working. I now get the error "Uncaught ReferenceError: LanguageModel is not defined" when trying to initialize the language model in the extension's service worker.
The same code that now fails in the extension's service worker runs without issue in a normal webpage in Chrome 137.
Kind regards, Scott