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.
This commit is contained in:
2026-10-17 15:02:29 +01:00
parent f4f275f2f9
commit e120780006
2 changed files with 135 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ tokio = { version = "1" }
tokio-stream = "0.1.18"
[dev-dependencies]
base64 = "0.23.1"
console = "0.16.4"
dialoguer = "0.12.0"
image = "0.25.10"