Cancel

open class Cancel(val from: ProcessModel.Entity, val conversationId: String) : AgentMessage(source)

Indicates that the sender is withdrawing from the conversation, abandoning whatever request or task was previously in flight.

Constructors

Link copied to clipboard
constructor(from: ProcessModel.Entity, conversationId: String)

Properties

Link copied to clipboard
open override val conversationId: String

Optional identifier that groups messages belonging to the same logical exchange (a Contract-Net call, a multi-turn negotiation, a tracked task lifecycle). Use a fresh value per conversation when grouping matters; leave null for one-shot messages.

Link copied to clipboard
open override val from: ProcessModel.Entity

The entity (typically an AgentModel.Agent) that sent this message.