[firebase_ai] Support for Gemini API Key in firebase_ai
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- dart, firebase
- 領域
- ai, mobile-dev
調査の方向性
まず、google_generative_ai からの firebase_ai の移行と、現在リクエストが Firebase をプロキシとしてどのように使用しているかを確認します。カスタム API キー、保守されている legacy パッケージ、または制限事項のドキュメント化のうち、どれが適切なサポート対象の方針かを判断します。1 つのアプローチが選択され、その互換性と使用上の影響が文書化されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Description:
With the recent migration from google_generative_ai to firebase_ai, we’ve encountered a significant limitation: it is no longer possible to set a custom Gemini API key.
In google_generative_ai, developers could allow end users to input their own Gemini API key. This is essential for applications that:
- Are designed to be self-hosted or run without a dedicated backend.
- Let users manage their own token usage and quotas.
- Require flexibility in using personal Google Cloud accounts.
However, firebase_ai acts as a proxy between the app and Gemini, abstracting away the API key and centralizing access through Firebase. This makes it impossible for the end user to configure their own key, breaking this usage pattern.
Problem:
google_generative_aihas been officially deprecated.firebase_aidoes not allow setting a custom API key.- There is currently no official Google-maintained alternative that supports this use case.
Request:
We propose one of the following solutions:
- Add optional support for setting a custom Gemini API key in
firebase_ai, bypassing the Firebase proxy when detected. - Maintain a minimal legacy version of
google_generative_aito support this use case. - Clearly document this limitation and suggest viable alternatives for developers who rely on this pattern.
Justification:
This change would allow developers to continue building flexible, decentralized applications without being forced to rely solely on Firebase infrastructure, and without breaking compatibility with existing workflows.
- 主要言語
- Dart
- スター
- 9.3k
- フォーク
- 4.1k
- 平均マージ
- 2日 10時間
- マージ済み PR(30日)
- 78
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
firebase/flutterfire のほかの issue
-
🚀 [firebase_core] Bump Firebase C++ SDK (14.1.0 → 14.2.0)対応中かも @SelaseKay が今日担当しました。 オープンNeeds Attention type: enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
firebase/flutterfire#18977 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[firebase_core_web]: Firebase.initializeApp never completes when a Firebase JS SDK script fails to load対応中かも @LasseLegarth が 5 日前に担当しました。 オープンNeeds Attention platform: web plugin: core reproduced type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
firebase/flutterfire#18964 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Needs Attention platform: android plugin: crashlytics type: enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
firebase/flutterfire#18951 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
blocked: external dependency platform: web plugin: ai type: bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
firebase/flutterfire#18938 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[cloud_firestore][Windows] Invalid field names (empty or `__x__`) close the app instead of throwing a FirebaseException対応中かも @SelaseKay が 6 日前に担当しました。 オープンNeeds Attention platform: windows plugin: cloud_firestore reproduced type: bug type: crash
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
firebase/flutterfire#18928 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
firebase/flutterfire の issue をすべて見る
似ている issue
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
StabilityNexus/Zplit#77 · コメント 1 件 ·
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
-
agent: is checked on a wrapper holding several checkables answers from the first one in tree orderオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
AlphaWaveSystems/flutter-probe#865 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
ubuntu/app-center#2306 ·
メンテナーはふだん 1 日以内に返信