Skip to content

[firebase_ai]: No support for language_code in Gemini Live API #17459

Open
@shashwat-aditya

Description

@shashwat-aditya

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

Other

Which platforms are affected?

Web

Description

Vertex AI Gemini Live API supports language code for gemini-2.0-flash-live-preview-04-09, but firebase_ai, doesn't have the option. Resulting in completely different results.

Prompting doesn't make it better

Reproducing the issue

Try on GCP Vertex AI, vs try the implementation in flutter without languageCode

Firebase Core version

3.14.0

Flutter Version

3.32.4

Relevant Log Output

Flutter dependencies

Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs AttentionThis issue needs maintainer attention.platform: webIssues / PRs which are specifically for web.plugin: ailabel issues for firebase_ai plugintype: enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions