Commit Graph

8 Commits

Author SHA1 Message Date
494aab6d14 feat: add SSE streaming, thinking models, and modernized Part struct
Some checks failed
Rust / build (push) Has been cancelled
2026-09-20 16:42:55 +01:00
ad82fc712b fix: support response parts with extra fields like thoughtSignature
Some checks failed
Rust / build (push) Has been cancelled
Implement custom Deserialize for Part to tolerate additional response fields (such as thoughtSignature or thought) returned by thinking models.
2026-09-06 13:13:49 +01:00
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
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
326b3919d1 Add builders for GenerateContent and CountToken 2024-11-26 20:27:36 +00:00
c4e9f78ec9 Make content role optional 2024-06-09 10:07:00 +01:00
b8f2b7e85e Refactor types into separate files 2024-02-23 18:25:32 +00:00