Skip to content

Conversation

dlarocque
Copy link
Contributor

Adds parsing of GroundingMetadata to the developer/api.dart response parsing, along with tests that mirror the existing ones in api_test.dart.

The GoogleSearch tool is already being serialized for requests, but I added tests to google_ai_generative_model_test.dart to confirm this.

Adds parsing of `GroundingMetadata` to the `developer/api.dart` response
parsing, along with tests that mirror the existing ones in
`api_test.dart`.

The `GoogleSearch` tool is already being serialized for requests, but I
added tests to `google_ai_generative_model_test.dart` to confirm this.
@dlarocque dlarocque requested a review from cynthiajoan August 23, 2025 13:18
@cynthiajoan cynthiajoan added the plugin: ai label issues for firebase_ai plugin label Aug 25, 2025
@Lyokone Lyokone merged commit f8ebbaf into main Aug 26, 2025
25 of 30 checks passed
@Lyokone Lyokone deleted the dl/grounding-devapi branch August 26, 2025 05:56
sybrands-place pushed a commit to sybrands-place/flutterfire that referenced this pull request Aug 27, 2025
* main: (31 commits)
  making sure vertex instance will differentiate with location (firebase#17664)
  fix(firebaseai): Added token details parsing for Dev API (firebase#17609)
  feat(firebaseai): add thinking feature (firebase#17652)
  feat(firebaseai): Add app check limited use token (firebase#17645)
  fix(firebaseai): remove candidateCount from LiveGenerationConfig since the connection fails silently when it is set (firebase#17647)
  fix(firebaseai): Export `UnknownPart` (firebase#17655)
  fix(firebase_ai): Add `GroundingMetadata` parsing for Developer API (firebase#17657)
  fix(app_check, iOS): correctly parse `forceRefresh` argument using `boolValue` (firebase#17627)
  feat(firebaseai): imagen editing (firebase#17556)
  feat(firebaseai): add responseJsonSchema to GenerationConfig (firebase#17564)
  chore(firebaseai): fix error message test failure (firebase#17644)
  ci(apple): fix CI runners with explicit Xcode version (firebase#17634)
  chore(firebaseai): Minor fix for error message wording (firebase#17639)
  chore: fix warnings after latest flutter version (firebase#17640)
  Update CHANGELOG.md, put live api entry back for the official announcment (firebase#17635)
  fix(ci): ignore .gradle files in license check (firebase#17625)
  Remove `generateContent` call from count tokens page (firebase#17613)
  Update CHANGELOG.md (firebase#17621)
  Update CONTRIBUTING.md to add API change rule (firebase#17619)
  chore(release): publish packages (firebase#17618)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin: ai label issues for firebase_ai plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants