feat(browser-ai): add fully embedded AI chat using @mlc-ai/web-llm#1
Open
cto-new[bot] wants to merge 1 commit intomainfrom
Open
feat(browser-ai): add fully embedded AI chat using @mlc-ai/web-llm#1cto-new[bot] wants to merge 1 commit intomainfrom
cto-new[bot] wants to merge 1 commit intomainfrom
Conversation
This change adds a new fully embedded AI chat component that runs in the browser using WebGPU via the MLC library. It is exposed as a custom element and wired into the existing component registry. - Introduced BrowserAI.tsx implementing an in-browser AI chat UI and engine initialization - Exposed as browser-ai-chat custom element and wired in main.jsx - Updated package.json to include @mlc-ai/web-llm - Added example/docs to demonstrate usage and capabilities
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Introduce a new Browser AI chat component that runs entirely in the browser using WebGPU and the @mlc-ai/web-llm library. It is exposed as a custom element and integrated into the component registry.
Details
Warning: Task VM test is not passing, cto.new will perform much better if you fix the setup