- Prompt API for Gemini Nano
- Enables optimization guide on device
I restarted by Chrome, and re-installed my extension unpacked to see if it works now, but the model is always stuck at 'after-download' as per console logs
I have the following code to log the progress but I see nothing in console:
const session = await chrome.aiOriginTrial.languageModel.create({
monitor(m) {
m.addEventListener("downloadprogress", e => {
console.log(`Downloaded ${e.loaded} of ${e.total} bytes.`);
});
}
});
In order to ensure it's not an issue with my extension, I built and installed the sample from the team but I notice the same issue there.
I reinstalled Chrome, tried on Chrome Canary but have the same issue everywhere. The Optimization Guide On Device Model under Chrome://components says up-to-date. I have over 140 GB free space, and waited for a long time to see if there's any progress but no luck.
Versions:
Chrome: Version 131.0.6778.109 (Official Build) (arm64)
Chrome Canary: Version 133.0.6887.0 (Official Build) canary (arm64)
What am I missing? Or is it a bug? Thanks!