Expand description
Draft lifecycle orchestration: send_draft → update_draft → finalize_draft.
When stream_mode is enabled, the agent sends incremental “draft” messages
that are progressively updated as the response streams in. The DraftTracker
manages the state for each in-flight draft and throttles update calls to
respect draft_update_interval_ms.
Structs§
- Draft
Key - Identifies a draft by (recipient, channel_name).
- Draft
Tracker - Tracks in-flight drafts across channels and throttles updates.