Reject

open class Reject(val from: ProcessModel.Entity, val conversationId: String, val reason: String? = null) : AgentMessage(source)

Indicates rejection of a prior Propose or Request within the same conversation, optionally including a reason.

Constructors

Link copied to clipboard
constructor(from: ProcessModel.Entity, conversationId: String, reason: String? = null)

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.

Link copied to clipboard