Class: Pikuri::Agent::Event::ThinkingDelta

Inherits:
Data
  • Object
show all
Defined in:
lib/pikuri/agent/event.rb

Overview

Streaming fragment of a reasoning block, off a RubyLLM::Chunk when streaming: is on. Emitted per-chunk by Pikuri::Agent#run_loop; empty fragments filtered.

Preview-only: the Thinking from after_message is authoritative. concat(deltas) == final is not guaranteed (whitespace normalization, Anthropic signature blocks). All of a round's deltas arrive before that round's Thinking/Assistant/Tokens bookend; ThinkingDelta vs AssistantDelta interleave order is provider-dependent.

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



62
63
64
# File 'lib/pikuri/agent/event.rb', line 62

def content
  @content
end