refactor(android): drop the single-prompt merge once ml kit sends older gemini nano whole conversations
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 30/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- android, react-native, typescript
- 領域
- ai, mobile-dev
調査の方向性
Start by reading GeminiNano.buildRequest in @react-native-ai/android and the change made in PR #367, then compare it with ADK's NanoSingleTextPrompt reference in #358. The work is blocked until ML Kit or AICore sends older Gemini Nano models the full multi-Content conversation or until those models age out. Done means the single TextPart merge is removed, system instructions and turns are sent separately, and behavior is verified on an affected nano-v2 device such as a Pixel 9 Pro.
索引モデルが issue の本文から書いたものです。
説明
Gemini Nano without system prompt support (isSystemPromptAvailable() false, such as nano-v2 on a Pixel 9 Pro with AICore aicore_20260219) reads only the first text part of an ML Kit genai-prompt request. A conversation sent as several Content turns, or with a separate system instruction, gets an answer to the first part only.
@react-native-ai/android (PR #367) therefore merges the system instruction and the text of every turn into one TextPart on those models, with images first, like ADK's NanoSingleTextPrompt (#358). Models with system prompt support get the instruction and turns separately.
genai-agent's AgentSession is no alternative: it rebuilds the same multi-Content request.
Remove the merge in GeminiNano.buildRequest once ML Kit or AICore sends older Gemini Nano the whole conversation (or those models age out).
- 主要言語
- TypeScript
- スター
- 1.4k
- フォーク
- 64
- 平均マージ
- 11時間 24分
- マージ済み PR(30日)
- 91
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
callstackincubator/ai のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
callstackincubator/ai#378 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
callstackincubator/ai#366 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
callstackincubator/ai#365 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Blocked enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
callstackincubator/ai#363 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Blocked enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
callstackincubator/ai#362 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
callstackincubator/ai の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
cursor/community-plugins#583 ·
メンテナーはふだん 1 日以内に返信
-
A model answer with prose after its fenced JSON is rejected as NOT_JSON対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンafk-ok importer size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
enorm-labs/event-junkie#5404 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Wavvon/Wavvon-clients#493 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
answerLoops/answerLoops#679 ·
メンテナーはふだん 1 日以内に返信