multi_choice

Function multi_choice 

Source
pub async fn multi_choice(
    handle: &PluginHandle,
    body: Value,
    n: usize,
    want: &(dyn Fn(&str) -> bool + Sync),
    timeout: Duration,
) -> Cell
Expand description

2026-09-26: n > 1 with an image, on the blocking path.

api/chat_blocking.rs gives the image pixels to choice 0 and an empty vector to every later choice. If a later choice loses the image rather than sharing choice 0’s encode, it answers about nothing. Every choice must be present and answer about the picture.