Class: Protege::ToolCallsReceivedEvent

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

Overview

Fired when the provider returns tool calls in a single turn.

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

#personaObject



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

def persona    = self[:persona]

#tool_callsObject



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

def tool_calls = self[:tool_calls]