isWritingReply property

bool get isWritingReply

True only while the assistant is actually writing.

Goes false as soon as the reply is complete, several seconds before the turn closes — the backend keeps the stream open to generate the title and report quota, measured at about five seconds on a real turn. Drive your typing indicator from this, not isStreaming, or it hangs on screen long after the answer arrived.

Implementation

bool get isWritingReply => _isWritingReply;