struct
ACP::Protocol::AgentMessageEndUpdate
- ACP::Protocol::AgentMessageEndUpdate
- ACP::Protocol::SessionUpdate
- Struct
- Value
- Object
Overview
Signals the end of an agent message.
NOTE Not part of the ACP spec.
Included Modules
- JSON::Serializable
Defined in:
acp/protocol/updates.crConstructors
-
.new(pull : JSON::PullParser)
Signals the end of an agent message.
- .new(message_id : String | Nil = nil, stop_reason : String | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil)
Instance Method Summary
-
#message_id : String | Nil
Optional message ID for correlation.
-
#message_id=(message_id : String | Nil)
Optional message ID for correlation.
-
#meta : Hash(String, JSON::Any) | Nil
Extension metadata.
-
#meta=(meta : Hash(String, JSON::Any) | Nil)
Extension metadata.
-
#stop_reason : String | Nil
Optional stop reason for this particular message.
-
#stop_reason=(stop_reason : String | Nil)
Optional stop reason for this particular message.
Instance methods inherited from struct ACP::Protocol::SessionUpdate
session_update : String
session_update,
session_update=(session_update : String)
session_update=,
type : String
type
Constructor methods inherited from struct ACP::Protocol::SessionUpdate
new(pull : JSON::PullParser)
new
Constructor Detail
def self.new(pull : JSON::PullParser)
#
Signals the end of an agent message.
NOTE Not part of the ACP spec.
def self.new(message_id : String | Nil = nil, stop_reason : String | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil)
#