struct

Crig::StepEvent

Inherits Struct < Value < Object

Constructors

completion_call(prompt_text : String, turn : Int32) : self
Source
completion_response(prompt_text : String, raw_response : String, choice_text : String = "") : self
Source
text_delta(delta : String, aggregated : String = "") : self
Source
tool_call(tool_name : String, tool_call_id : String | Nil, internal_call_id : String, args : String) : self
Source
tool_call_delta(tool_call_id : String | Nil, internal_call_id : String, tool_name : String | Nil, delta : String) : self
Source
tool_result(tool_name : String, tool_call_id : String | Nil, internal_call_id : String, args : String, result : String) : self
Source

Instance methods

aggregated
Source
args
Source
choice_text
Source
completion_call?
Source
delta
Source
internal_call_id
Source
kind
Source
prompt_text
Source
raw_response
Source
result
Source
text_delta?
Source
tool_call?
Source
tool_call_delta?
Source
tool_call_id
Source
tool_name
Source
tool_result?
Source
turn
Source

Nested types