What are the prerequisites for this? I keep getting "Bummer, looks like your device doesn't support Chrome AI" on macOS 15.2 Chrome 132.0.6834.84 (Official Build) (arm64)
[Edit] Found it. I had to enable chrome://flags/#prompt-api-for-gemini-nano
Yeah the instructions are not clear. They're on the github repo[1] linked in the header.
1. Install Chrome Dev: Ensure you have version 127. [Download Chrome Dev](https://google.com/chrome/dev/).
2. Check that you’re on 127.0.6512.0 or above
3. Enable two flags: chrome://flags/#optimization-guide-on-device-model - BypassPerfRequirement chrome://flags/#prompt-api-for-gemini-nano - Enabled
4. Relaunch Chrome
5. Navigate to chrome://components
6. Check that Optimization Guide On Device Model is downloading or force download if not Might take a few minutes for this component to even appear
7. Open dev tools and type (await ai.languageModel.capabilities()).available, should return "readily" when all good
[1]: https://github.com/ryanseddon/FFprompt
Yeah the instructions are not clear. They're on the github repo[1] linked in the header.
1. Install Chrome Dev: Ensure you have version 127. [Download Chrome Dev](https://google.com/chrome/dev/).
2. Check that you’re on 127.0.6512.0 or above
3. Enable two flags: chrome://flags/#optimization-guide-on-device-model - BypassPerfRequirement chrome://flags/#prompt-api-for-gemini-nano - Enabled
4. Relaunch Chrome
5. Navigate to chrome://components
6. Check that Optimization Guide On Device Model is downloading or force download if not Might take a few minutes for this component to even appear
7. Open dev tools and type (await ai.languageModel.capabilities()).available, should return "readily" when all good
[1]: https://github.com/ryanseddon/FFprompt