Skip to content

Conversation

MichaelVerdon
Copy link
Contributor

@MichaelVerdon MichaelVerdon commented Feb 28, 2025

Description

Fix 'Unhandle ContentModality' issue for audio.
closes #17133
Add an audio and text, video and text and document and text prompt examples for vertexai testapp to streamline processes of diagnosing audio related issues.

Related Issues

Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR. Note that you'll have to prefix the issue numbers with flutter/flutter#.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
  • All existing and new tests are passing.
  • I updated/added relevant documentation (doc comments with ///).
  • The analyzer (melos run analyze) does not report any problems on my PR.
  • I read and followed the Flutter Style Guide.
  • I signed the CLA.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change.
  • No, this is not a breaking change.

@MichaelVerdon MichaelVerdon changed the title feat(vertexai): Audio example for vertexai testapp feat(vertexai): Unhandled ContentModality fix with Audio example for vertexai testapp Feb 28, 2025
@MichaelVerdon MichaelVerdon marked this pull request as ready for review February 28, 2025 14:43
@suesitran
Copy link

I come here from this issue #17133

and this actually works for all types of files. When will it be released?

@MichaelVerdon MichaelVerdon changed the title feat(vertexai): Unhandled ContentModality fix with Audio example for vertexai testapp feat(vertexai): Unhandled ContentModality fix with more multimodal examples for vertexai testapp Mar 3, 2025
@MichaelVerdon
Copy link
Contributor Author

I come here from this issue #17133

and this actually works for all types of files. When will it be released?

Hi there, yes it works for all types of files. if the PR is Merged then the release can come as soon as tomorrow.

@mohsinhundekar
Copy link

When this PR will be merged?

@MichaelVerdon MichaelVerdon force-pushed the vertex-sound-example branch from c304f17 to 410548a Compare March 4, 2025 14:07
@mohsinhundekar
Copy link

I see changes were pushed and got approved as well, now when this open PR will be merged?

@suesitran
Copy link

i really need this PR to be merged because somehow Codemagic just decided to pick on this PR and stop building my app 😆
https://discord.com/channels/1131597315707261018/1347124338561777674/1347124338561777674

@mohsinhundekar
Copy link

any update on this PR?

@Lyokone Lyokone merged commit 76461d7 into main Mar 10, 2025
28 of 29 checks passed
@Lyokone Lyokone deleted the vertex-sound-example branch March 10, 2025 14:05
@mohsinhundekar
Copy link

I see that this PR has been merged into the main branch, but it’s still not available on pub.dev. I’m using the latest version (1.4.0) of this package, but the issue persists. Could someone provide an update on this? I appreciate all your hard work!

@mohsinhundekar
Copy link

@Lyokone I see that this PR has been merged into the main branch, but it’s still not available on pub.dev. I’m using the latest version (1.4.0) of this package, but the issue persists. Could someone provide an update on this? I appreciate all your hard work!

@firebase firebase locked and limited conversation to collaborators Apr 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: FormatException: Unhandled ContentModality format

7 participants