Class: Protege::ToolCallFailedEvent
- 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
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
#error ⇒ Object
10 |
# File 'lib/protege/events/tool_call_failed_event.rb', line 10 def error = self[:error] |
#persona ⇒ Object
8 |
# File 'lib/protege/events/tool_call_failed_event.rb', line 8 def persona = self[:persona] |
#tool_call ⇒ Object
9 |
# File 'lib/protege/events/tool_call_failed_event.rb', line 9 def tool_call = self[:tool_call] |