Class: Ask::Agent::Events::ToolCallRepaired

Inherits:
Data
  • Object
show all
Defined in:
lib/ask/agent/events.rb

Overview

Emitted when a malformed tool call (unparseable arguments or unknown tool) was repaired by the model before execution.

Instance Attribute Summary collapse

Instance Attribute Details

#corrected_argumentsObject (readonly)

Returns the value of attribute corrected_arguments

Returns:

  • (Object)

    the current value of corrected_arguments



21
22
23
# File 'lib/ask/agent/events.rb', line 21

def corrected_arguments
  @corrected_arguments
end

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



21
22
23
# File 'lib/ask/agent/events.rb', line 21

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



21
22
23
# File 'lib/ask/agent/events.rb', line 21

def name
  @name
end

#original_argumentsObject (readonly)

Returns the value of attribute original_arguments

Returns:

  • (Object)

    the current value of original_arguments



21
22
23
# File 'lib/ask/agent/events.rb', line 21

def original_arguments
  @original_arguments
end