google / generative-ai-go

Go SDK for Google Generative AI
Apache License 2.0
488 stars 47 forks source link

genai: add File time fields #122

Closed jba closed 1 month ago

jba commented 1 month ago

Add three fields to File that are of type time.Time.

This requires the changes to protoveneer in https://github.com/googleapis/google-cloud-go/pull/10266, which also includes changes to the support packages.

Running go generate also introduced two additional File fields, Error and Metadata, that we will deal with later.

There are also additions to the discovery client which don't concern us.