pub struct QueueInsertMessage {
pub agent_mode: Option<SendAgentMode>,
pub attachments: Option<Vec<Value>>,
pub billable: Option<bool>,
pub delivery: Option<String>,
pub display_prompt: Option<String>,
pub mode: Option<SendMode>,
pub prepend: Option<bool>,
pub prompt: String,
pub request_headers: Option<HashMap<String, String>>,
pub required_tool: Option<String>,
pub source: Option<String>,
pub wait: Option<bool>,
}Expand description
Serializable message fields accepted by queue.insertAt.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§agent_mode: Option<SendAgentMode>Optional explicit agent mode. When omitted, the session’s current mode is assigned.
attachments: Option<Vec<Value>>Optional attachments for the message.
billable: Option<bool>Whether the message is billable.
delivery: Option<String>Accepted for internal SendOptions compatibility but ignored; delivery is derived from current session activity.
display_prompt: Option<String>Optional user-facing display text.
mode: Option<SendMode>Accepted for SendOptions compatibility but ignored; inserted items always use queued delivery semantics.
prepend: Option<bool>Accepted for SendOptions compatibility but ignored; the requested public position controls placement.
prompt: StringThe user message text.
request_headers: Option<HashMap<String, String>>Per-turn request headers.
required_tool: Option<String>Required tool name for the turn, when any.
source: Option<String>Optional provenance source. system is rejected: it would hide the inserted row from pendingItems and make it unaddressable while still executing, so inserted items must stay visible.
wait: Option<bool>Accepted for SendOptions compatibility but ignored; insertion scheduling is controlled by the queue drain state.
Trait Implementations§
Source§impl Clone for QueueInsertMessage
impl Clone for QueueInsertMessage
Source§fn clone(&self) -> QueueInsertMessage
fn clone(&self) -> QueueInsertMessage
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more