Skip to content

Files uploaded with Gemini file APIurl not recognised #7796

@Vincent-liuwingsang

Description

@Vincent-liuwingsang

Description

I have uploaded files with Gemini's File API and passed them in as part of file data https://generativelanguage.googleapis.com/v1beta/files/XXX.

This is not recognised as the baseUrl of our google model points to helicone and therefore
https://generativelanguage.googleapis.com/v1beta/files/${document.id} won't ever match
https://gateway.helicone.ai/v1beta

AI SDK Version

2.0.1
No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions