Property StreamIdleTimeoutMs
Longest silence of a streamed call, in milliseconds: how long the provider may send nothing at all — no text,
no thinking, not even a keep-alive comment or ping — before the call fails with
(). It counts only
the waits on the provider, not the time the reader spends between pieces. Off by default (null): the
whole call is still limited by , and some reasoning models stream nothing for
minutes before their first token. Must be positive when set.
public int? StreamIdleTimeoutMs { get; set; }