G
YouTube TikTok Games
Skip to content

fix(firebase_ai): export LiveServerSetupComplete - #18963

Open
jamesblasco wants to merge 1 commit into
firebase:mainfrom
Sparkli-AI:feat/live-api-setup-complete-export
Open

jamesblasco wants to merge 1 commit into
firebase:mainfrom
Sparkli-AI:feat/live-api-setup-complete-export

Conversation

@jamesblasco

Copy link
Copy Markdown
Contributor

Description

Live API setup responses produce a LiveServerSetupComplete message, but this type is missing from the public package exports. Callers importing package:firebase_ai/firebase_ai.dart cannot check for it to identify successful setup.

Export the existing type and add a regression test that identifies a parsed setup-completion message through the public API. This is an additive change, independent of usage metadata support in #18962.

Validation

  • flutter test --no-pub --reporter expanded test/live_test.dart: 32 tests passed.
  • flutter analyze --no-pub lib test: no issues found.
  • Dart formatting and git diff --check: passed.

Breaking Change

No.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request exports LiveServerSetupComplete from the public API in firebase_ai.dart and adds a unit test in live_test.dart to verify that setup completion can be correctly identified through the public API. I have no feedback to provide.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant