Suggested Request: Swap MediaPipe GenAI with LiteRT LM web#8
Open
shivaylamba wants to merge 2 commits into
Open
Suggested Request: Swap MediaPipe GenAI with LiteRT LM web#8shivaylamba wants to merge 2 commits into
shivaylamba wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
This PR migrates Nova IDE’s on-device inference stack from MediaPipe GenAI to LiteRT LM, updating model formats, runtime initialization, and related docs/UI.
Changes:
- Swap dependency from
@mediapipe/tasks-genaito@litert-lm/coreand update Vite config accordingly. - Rewrite
src/ai-engine.jsto use LiteRT LMEngine+ conversations, plus improved OPFS caching and streaming downloads. - Update model URLs/extensions and documentation references from
.task/MediaPipe to.litertlm/LiteRT LM.
Reviewed changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| vite.config.js | Adjust asset handling and dependency optimization for LiteRT LM models/runtime. |
| src/chat.js | Update model labels/URLs and restrict uploads to .litertlm. |
| src/ai-engine.js | Replace MediaPipe-based inference with LiteRT LM Engine + streaming + OPFS caching. |
| packages/web-agent-core/website/src/components/HomepageFeatures/index.js | Update marketing copy to reference LiteRT LM. |
| packages/web-agent-core/website/docs/intro.md | Update docs to reference LiteRT LM in examples and descriptions. |
| packages/web-agent-core/package.json | Update keywords from mediapipe to litert-lm. |
| packages/web-agent-core/README.md | Update README references/examples to LiteRT LM. |
| package.json | Replace MediaPipe dependency with @litert-lm/core. |
| README.md | Update root README to reference LiteRT LM and link to correct docs. |
| BLOG.md | Update blog narrative/diagram and model extension references to LiteRT LM. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Hi @carrycooldude
LiteRT LM Web was recently launched. This PR swaps the implementation of MediaPipe Web LLM with LiteRT LM. This is just a suggested PR to show LiteRT LM web API in action. Maybe we can have both being shown. Just a suggestion