Skip to content

Conversation

kexiZeroing
Copy link

This PR updates the code to accommodate recent changes in the Chrome built-in AI API, which broke existing integrations.

Changes:

  • Updated the API usage to match the latest version.
  • Replaced custom type definitions with the official @types/dom-chromium-ai package.
  • Kept the original code structure and variable names intact to minimize disruption.

My reference was webmachinelearning/prompt-api, and the changes in this PR are limited to the Prompt API Playground. As far as I know, other APIs like Summarizer, Writer, and Translator have also changed. I’d be happy to collaborate on updating those as well, since I believe this is a great project to experiment with client-side AI capabilities.

Copy link

vercel bot commented Jun 10, 2025

@kexiZeroing is attempting to deploy a commit to the oslook's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant