Class: Protege::InferenceMaxTurnsReachedEvent

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

Overview

Fired when the tool loop hits the max turn count without completing.

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/inference_max_turns_reached_event.rb', line 8

def persona    = self[:persona]

#tool_callsObject



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

def tool_calls = self[:tool_calls]

#turnObject



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

def turn       = self[:turn]