Hey team, I am trying to use baml for audio inputs and I am testing with the gemini client using google-ai as the provider. After looking through the baml code, I realised that the google ai provider supports either base64 mime type data or a gs:// URI. However, when trying to pass a gs://uri I am getting a 400 INVALID_ARGUMENT error "Invalid or unsupported file uri". I am using the BAML REST API server to access theBAML function. Can you let me know how to make this work?
v
Vaibhav (BAML 🐑)
07/29/2025, 1:51 PM
Thanks for reporting this issue! Are you able to have it work via the playground or baml-cli test command
a
adi24129795
07/29/2025, 1:51 PM
Nope
v
Vaibhav (BAML 🐑)
07/29/2025, 1:52 PM
If you can get a repro on promptfiddle.com that would help!
Vaibhav (BAML 🐑)
07/29/2025, 1:52 PM
Or just a snippet of code
Vaibhav (BAML 🐑)
07/29/2025, 1:52 PM
Then I can add as a unit test and keep it working long term as well