Class: Protege::ToolCallFailedEvent

Inherits:
Event
  • Object
show all
Defined in:
lib/protege/events/tool_call_failed_event.rb

Overview

Fired when a tool call raises an unhandled exception.

Instance Attribute Summary

Attributes inherited from Event

#payload

Instance Method Summary collapse

Methods inherited from Event

#[], all, channel, #correlation_id, emit, #initialize, subscribe

Constructor Details

This class inherits a constructor from Protege::Event

Instance Method Details

#errorObject



10
# File 'lib/protege/events/tool_call_failed_event.rb', line 10

def error     = self[:error]

#personaObject



8
# File 'lib/protege/events/tool_call_failed_event.rb', line 8

def persona   = self[:persona]

#tool_callObject



9
# File 'lib/protege/events/tool_call_failed_event.rb', line 9

def tool_call = self[:tool_call]