ACPex.Schema.Session.CancelNotification (ACPex v0.1.0)
View SourceNotification to cancel prompt processing.
Sent by the client to request cancellation of an ongoing prompt. The agent should stop processing and send a PromptResponse with stop_reason "cancelled".
Required Fields
session_id
- The session identifier (string)
Optional Fields
meta
- Additional metadata (map)
Example
%ACPex.Schema.Session.CancelNotification{
session_id: "session-123"
}
JSON Representation
{
"sessionId": "session-123"
}
Summary
Functions
Creates a changeset for validation.
Types
Functions
@spec changeset(t(), map()) :: Ecto.Changeset.t()
Creates a changeset for validation.
Required Fields
session_id
- Must be present