Class: Insika::Checkpoint
- Inherits:
-
Data
- Object
- Data
- Insika::Checkpoint
- Defined in:
- lib/insika/checkpoint.rb
Overview
Per-turn snapshot. The checkpoint of
turn n holds the state AT THE START of turn n — resuming = re-executing the
whole turn n. messages is the MATERIALIZED transcript (not a cursor): the
checkpoint is self-contained and resumption does not depend on the Session Store.
completed_side_effects: ids of non-idempotent tool calls already completed
within the turn (resumption answers them with "already_executed").
Instance Attribute Summary collapse
-
#agent_id ⇒ Object
readonly
Returns the value of attribute agent_id.
-
#completed_side_effects ⇒ Object
readonly
Returns the value of attribute completed_side_effects.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#messages ⇒ Object
readonly
Returns the value of attribute messages.
-
#session_id ⇒ Object
readonly
Returns the value of attribute session_id.
-
#task_id ⇒ Object
readonly
Returns the value of attribute task_id.
-
#turn ⇒ Object
readonly
Returns the value of attribute turn.
Instance Attribute Details
#agent_id ⇒ Object (readonly)
Returns the value of attribute agent_id
11 12 13 |
# File 'lib/insika/checkpoint.rb', line 11 def agent_id @agent_id end |
#completed_side_effects ⇒ Object (readonly)
Returns the value of attribute completed_side_effects
11 12 13 |
# File 'lib/insika/checkpoint.rb', line 11 def completed_side_effects @completed_side_effects end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at
11 12 13 |
# File 'lib/insika/checkpoint.rb', line 11 def created_at @created_at end |
#messages ⇒ Object (readonly)
Returns the value of attribute messages
11 12 13 |
# File 'lib/insika/checkpoint.rb', line 11 def @messages end |
#session_id ⇒ Object (readonly)
Returns the value of attribute session_id
11 12 13 |
# File 'lib/insika/checkpoint.rb', line 11 def session_id @session_id end |
#task_id ⇒ Object (readonly)
Returns the value of attribute task_id
11 12 13 |
# File 'lib/insika/checkpoint.rb', line 11 def task_id @task_id end |
#turn ⇒ Object (readonly)
Returns the value of attribute turn
11 12 13 |
# File 'lib/insika/checkpoint.rb', line 11 def turn @turn end |