Class: LLMs::Stream::Events::ThinkingDelta

Inherits:
Base
  • Object
show all
Defined in:
lib/llms/stream/events.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#timestamp

Instance Method Summary collapse

Constructor Details

#initialize(message_id, thinking) ⇒ ThinkingDelta

Returns a new instance of ThinkingDelta.



31
32
33
34
35
# File 'lib/llms/stream/events.rb', line 31

def initialize(message_id, thinking)
  super()
  @message_id = message_id
  @thinking = thinking
end

Instance Attribute Details

#message_idObject (readonly)

Returns the value of attribute message_id.



30
31
32
# File 'lib/llms/stream/events.rb', line 30

def message_id
  @message_id
end

#thinkingObject (readonly)

Returns the value of attribute thinking.



30
31
32
# File 'lib/llms/stream/events.rb', line 30

def thinking
  @thinking
end