You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ADK: remove NanoSingleTextPrompt once ADK sends Gemini Nano the whole prompt #358
On devices where ML Kit reports isSystemPromptAvailable() == false, Gemini Nano reads only the first text part of a request. One such device is a Pixel 9 Pro with AICore aicore_20260219.
ADK's GenaiPrompt sends the system instruction separately and one content per turn, so Nano answers the agent instruction ("I am the React Native ADK agent…") and never sees the user's message. Upgrading genai-prompt to 1.0.0-beta5 doesn't change this.
NanoSingleTextPrompt (#290) merges the instruction and every turn into one text part. It's the one workaround the provider keeps, because without it Gemini Nano doesn't work on these devices.
Remove it once ADK handles this itself. It may be worth reporting upstream to ADK Kotlin.
Activity
grabbou commentedon Oct 30, 2026
Closing with the ADK provider (#368). The same Gemini Nano behavior is handled in
@react-native-ai/android(#367) and tracked in #364.