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:



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

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:



847
848
849
# File 'sig/types.rbs', line 847

def call_type
  @call_type
end

#functionStreamFunctionCall? (readonly)

Returns the value of attribute function.

Returns:



848
849
850
# File 'sig/types.rbs', line 848

def function
  @function
end

#idString? (readonly)

Returns the value of attribute id.

Returns:

  • (String, nil)


846
847
848
# File 'sig/types.rbs', line 846

def id
  @id
end

#indexInteger (readonly)

Returns the value of attribute index.

Returns:

  • (Integer)


845
846
847
# File 'sig/types.rbs', line 845

def index
  @index
end