Repository navigation
feat(ai): add Gemma media embeddings and Google mobile actions - #2119
Merged
Merged
Conversation
Search can embed a photo or audio clip with EmbeddingGemma 2, and the Mobile Actions model can run Google's seven device tools. Co-authored-by: Uday Chauhan <chauhan.s.uday26@gmail.com>
Contributor
Plugin Module Size GatePolicy: modules over 3 MB must be delivered as plugins; plugin modules over 5 MB must document cache management.
|
ucguy4u
marked this pull request as ready for review
October 16, 2026 18:00
Contributor
🚀 PR Quick Check Summary
|
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
EmbeddingGemma 2 can now embed a photo or an audio clip, and the Mobile Actions model can run Google's seven published device tools.
mobile-actions-270m-litertlmis the chat model, it can call flashlight on/off, create contact, send email, show map, open Wi-Fi settings, and create a calendar event. Those open the system screen or toggle the torch.Test Plan
dart analyzeon the embeddings library and the new tool fileflutter testfor embedding client, embedding service, and model catalog (37 tests)flutter test test/reasoning/google_mobile_action_tools_test.dart(3 tests)scripts/check-docs-completeness.sh --base origin/main --head HEADVerification environment: Host-only. Media embedding calls match the LiteRT-LM 0.18.0
InputData.ImageandInputData.AudioAPI. They were not run on a phone.Agent Policy
core_ai. Tool execution stays infeature_mindand reusesDeviceActionsService.Council Review
Media Intelligence Architect: embedding package selection
Flutter Architect:
core_aiembedding service and Mind chat tool routingPlatform Architect: Android
embedMediaI checked the Decision Matrix and listed every required role above.
Every package touched has a
module.yaml.owner/reviewersin any touchedmodule.yamlstill match who actually reviewed this PR.