Commit Graph

11 Commits

Author SHA1 Message Date
2f15b5298d feat: allow missing name/args in FunctionCallData and add streamed argument fields (#12)
Some checks failed
Rust / build (pull_request) Failing after 4s
2026-10-26 19:57:09 +00:00
a2cff20aff feat: omit None fields on Content, add optional id to function call/response, and add Part helpers (#11)
Some checks failed
Rust / build (pull_request) Failing after 4s
2026-10-26 19:39:36 +00:00
f4f275f2f9 feat: support multimodal function response parts
Adds an optional parts field to FunctionResponseData, serialized as
functionResponse.parts with inlineData, so function responses can carry
images. It is omitted when empty, so existing requests are unchanged.
2026-10-17 14:49:53 +01:00
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