Class: Pikuri::Agent::History::Tokens

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

Overview

Per-message token usage, as the provider reported it. Carried so a host's context readout can be reseeded after a load — nothing on the wire needs it.

Instance Attribute Summary collapse

Instance Attribute Details

#cache_creationObject (readonly)

Returns the value of attribute cache_creation

Returns:

  • (Object)

    the current value of cache_creation



99
100
101
# File 'lib/pikuri/agent/history.rb', line 99

def cache_creation
  @cache_creation
end

#cachedObject (readonly)

Returns the value of attribute cached

Returns:

  • (Object)

    the current value of cached



99
100
101
# File 'lib/pikuri/agent/history.rb', line 99

def cached
  @cached
end

#inputObject (readonly)

Returns the value of attribute input

Returns:

  • (Object)

    the current value of input



99
100
101
# File 'lib/pikuri/agent/history.rb', line 99

def input
  @input
end

#outputObject (readonly)

Returns the value of attribute output

Returns:

  • (Object)

    the current value of output



99
100
101
# File 'lib/pikuri/agent/history.rb', line 99

def output
  @output
end

#thinkingObject (readonly)

Returns the value of attribute thinking

Returns:

  • (Object)

    the current value of thinking



99
100
101
# File 'lib/pikuri/agent/history.rb', line 99

def thinking
  @thinking
end