class Riffer::Rig::Events::AfterToolCall
Attributes
args
[R]
Hash[Symbol, untyped]
at
[R]
Float
call_id
[R]
String
@dynamic call_id, tool, args, result, at, duration
duration
[R]
Float
result
[R]
::Riffer::Tools::Response
tool
[R]
String
Public Class Methods
(String call_id, String tool, Hash[Symbol, untyped] args, ::Riffer::Tools::Response result, Float at, Float duration) → void
Source
# File lib/riffer/rig/events/after_tool_call.rb, line 24 def initialize(call_id, tool, args, result, at, duration) @call_id = call_id @tool = tool @args = args.dup.freeze @result = result @at = at @duration = duration freeze end
@rbs call_id: String @rbs tool: String @rbs args: Hash[Symbol, untyped] @rbs result: ::Riffer::Tools::Response @rbs at: Float @rbs duration: Float @rbs return: void