🚀 [firebase_ai] Public way to set thoughtSignature on request parts
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 67/100
調査の方向性
Start by reading the public part constructors and Part in the firebase_ai package, then check how ChatSession preserves thoughtSignature and how parsePart is exported. Confirm which proposed public API fits the package conventions and add or update focused tests for setting and round-tripping the signature. Done means callers can preserve it across turns without using test-only constructors.
索引モデルが issue の本文から書いたものです。
説明
What feature would you like to see?
A public way to set thoughtSignature on the parts of a request.
Gemini 3 models return a thoughtSignature on response parts, and the API expects it back on those parts in later turns, otherwise multi-turn function calling with thinking fails. ChatSession handles this internally, but code that builds Content itself (for example a framework keeping its own message history) has no supported way to do it in firebase_ai 5.1.0:
Partkeeps the signature in a private_thoughtSignature. It can be read back throughtoJson(), but not set.- The public
TextPart,InlineDataPart,FileDataandFunctionCallconstructors passthoughtSignature: null. - Only the
@visibleForTesting.forTestconstructors accept it, andparsePartisn't exported.
We use the .forTest constructors in the Genkit plugin for Firebase AI Logic (genkit_firebase_ai) to round-trip signatures, which works but relies on test-only API that could change in any release.
Any of these would solve it:
- A
thoughtSignaturenamed parameter on the public part constructors (and ideally a publicthoughtSignaturegetter onPart). - Exporting
parsePart, so a part can be rebuilt from the JSON the API returned.
- 主要言語
- Dart
- スター
- 9.3k
- フォーク
- 4.1k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 69
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
firebase/flutterfire のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
firebase/flutterfire#18918 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
firebase/flutterfire#18908 ·
メンテナーはふだん 1 日以内に返信
-
[📚] App Check Windows Support still N/A on Readme対応中かも @Adrianogba が 1 日前に担当しました。 オープンgood first issue type: documentation
難易度 1/5 1時間未満 初心者へのやさしさ 35/100
firebase/flutterfire#18913 ·
メンテナーはふだん 1 日以内に返信
-
[📚] Data Connect Windows Support still N/A on Readme対応中かも @Adrianogba が 1 日前に担当しました。 オープンgood first issue type: documentation
難易度 1/5 1時間未満 初心者へのやさしさ 35/100
firebase/flutterfire#18911 ·
メンテナーはふだん 1 日以内に返信
-
[📚] Realtime Database Windows Support still N/A on Readme対応中かも @Adrianogba が 1 日前に担当しました。 オープンgood first issue type: documentation
難易度 1/5 1時間未満 初心者へのやさしさ 1/100
firebase/flutterfire#18909 ·
メンテナーはふだん 1 日以内に返信
firebase/flutterfire の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
customerio/customerio-flutter#441 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
jhomlala/betterplayer#1646 ·
メンテナーはふだん 1 日以内に返信
-
Feature
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
amplitude/Amplitude-Flutter#337 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
google-pay/flutter-plugin#343 ·
-
JsonParseNode.getObjectValue returns non-null model on null JSON nodes and duplicates lifecycle hooks対応中かも @hardikkaurani が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
microsoft/kiota-dart#170 ·
メンテナーはふだん 1 日以内に返信