feat/function-response-parts #1

Merged
andreban merged 2 commits from feat/function-response-parts into main 2026-10-17 15:05:39 +01:00

2 Commits

Author SHA1 Message Date
e120780006 docs: add multimodal function response example
Some checks failed
Rust / build (pull_request) Has been cancelled
Calls a function, returns a solid-color PNG as functionResponse.parts
inlineData, and checks that the model names the color. COLOR picks the
color; otherwise it is picked by time.
2026-10-17 15:02:29 +01: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