onLog property

void Function(String line)? onLog
final

Optional timeline of a turn, for diagnosing why a UI still looks busy.

The backend keeps the stream open well after the reply is on screen — it generates the conversation title, then reports quota — so the gap between reply complete and turn closed here is the backend's, not this package's.

Implementation

final void Function(String line)? onLog;