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:



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

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:



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

def call_type
  @call_type
end

#functionStreamFunctionCall?

Returns the value of attribute function.

Returns:



243
244
245
# File 'sig/types.rbs', line 243

def function
  @function
end

#idString?

Returns the value of attribute id.

Returns:

  • (String, nil)


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

def id
  @id
end

#indexInteger?

Returns the value of attribute index.

Returns:

  • (Integer, nil)


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

def index
  @index
end