pub fn complete_streaming(
profile_id: &str,
model_id: &str,
model_request: ModelRequest,
timeout: Duration,
on_event: &mut dyn FnMut(&StreamEvent),
) -> Result<ModelResponse, ClientError>Expand description
Complete a neutral turn, delivering presentation-only deltas followed by its authoritative response. Deltas never authorize tool execution.
ยงErrors
Rejects unavailable gateways, provider failures and malformed responses. Malformed event payloads are rejected after draining the response so the shared capability channel remains synchronized.