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:



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

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

Instance Attribute Details

#call_typeToolType?

Returns the value of attribute call_type.

Returns:



239
240
241
# File 'sig/types.rbs', line 239

def call_type
  @call_type
end

#functionStreamFunctionCall?

Returns the value of attribute function.

Returns:



240
241
242
# File 'sig/types.rbs', line 240

def function
  @function
end

#idString?

Returns the value of attribute id.

Returns:

  • (String, nil)


238
239
240
# File 'sig/types.rbs', line 238

def id
  @id
end

#indexInteger?

Returns the value of attribute index.

Returns:

  • (Integer, nil)


237
238
239
# File 'sig/types.rbs', line 237

def index
  @index
end