Class: Raix::FunctionToolAdapter::ToolCallsCapReached

Inherits:
Struct
  • Object
show all
Defined in:
lib/raix/function_tool_adapter.rb

Overview

Sentinels wrapped in a RubyLLM::Tool::Halt so that ChatCompletion can tell why RubyLLM's internal tool loop was halted from inside a generated tool wrapper. Internal API — not intended for use outside Raix.

Instance Attribute Summary collapse

Instance Attribute Details

#max_tool_callsObject

Returns the value of attribute max_tool_calls

Returns:

  • (Object)

    the current value of max_tool_calls



9
10
11
# File 'lib/raix/function_tool_adapter.rb', line 9

def max_tool_calls
  @max_tool_calls
end