Class: LiterLlm::StreamToolCall

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStreamToolCall

Returns a new instance of StreamToolCall.

Parameters:



255
# File 'sig/types.rbs', line 255

def initialize: (?index: Integer, ?id: String, ?call_type: ToolType, ?function: StreamFunctionCall) -> void

Instance Attribute Details

#call_typeToolType? (readonly)

Returns the value of attribute call_type.

Returns:



252
253
254
# File 'sig/types.rbs', line 252

def call_type
  @call_type
end

#functionStreamFunctionCall? (readonly)

Returns the value of attribute function.

Returns:



253
254
255
# File 'sig/types.rbs', line 253

def function
  @function
end

#idString? (readonly)

Returns the value of attribute id.

Returns:

  • (String, nil)


251
252
253
# File 'sig/types.rbs', line 251

def id
  @id
end

#indexInteger (readonly)

Returns the value of attribute index.

Returns:

  • (Integer)


250
251
252
# File 'sig/types.rbs', line 250

def index
  @index
end