-
Notifications
You must be signed in to change notification settings - Fork 465
Closed
Labels
component:python sdkIssue/PR related to Python SDKIssue/PR related to Python SDKtype:feature requestNew feature request/enhancementNew feature request/enhancement
Description
Description of the feature request:
Currently the only way to upload a file is to send the path of the file
It looks like client.py#L73
Is there anyway to get this to take a stream
media = googleapiclient.http.MediaFileUpload(
filename=path, mimetype=mime_type, resumable=resumable
)
What problem are you trying to solve with this feature?
I am downloading a file from another site and would rather not have to save it to disk only to send it to Gemini.
Any other information you'd like to share?
please
Metadata
Metadata
Assignees
Labels
component:python sdkIssue/PR related to Python SDKIssue/PR related to Python SDKtype:feature requestNew feature request/enhancementNew feature request/enhancement