9 Commits

Author SHA1 Message Date
51d6a27017 Adds streaming generation that returns a streaming
- Introducues generate_content_stream that returns a Tokio Steam instead
of a Queue. This allows using the standard stream APIs from
tokio-streams.
- Replace future-utils with tokio-streams, mainly due to better
ergonomics for using the filter_map stream combinator.
2025-04-05 19:18:33 +01:00
fd1223da59 More builder refactoring 2024-11-27 16:20:53 +00:00
56d6b95c53 Add shortcuts for commonly used functions 2024-11-27 15:57:18 +00:00
db5a01afef Adds more builders 2024-11-27 15:11:01 +00:00
14010f9f78 Update GCP Auth to 0.12 2024-06-04 07:25:01 +01:00
a640d97efb Makes generate content error result into Error 2024-05-01 17:14:32 +01:00
b8f2b7e85e Refactor types into separate files 2024-02-23 18:25:32 +00:00
93285e53dd Updates client to use the generateContent endpoint when not streaming 2024-02-23 14:42:51 +00:00
83335e65dc Adds streaming content 2024-02-16 21:36:08 +00:00