Run per-turn setup: compaction, resource replacement, system-reminder injection.
Source:R/turn_pipeline.R
dot-turn_setup.RdRun per-turn setup: compaction, resource replacement, system-reminder injection.
Usage
.turn_setup(
client,
input,
iteration = 1L,
cwd = NULL,
compaction_ctrl = NULL,
resource_state = NULL
)Arguments
- client
A
CodeagentClientor bareellmer::Chat.- input
Character scalar (CLI/ink) OR list (Shiny: text + attachments).
- iteration
Integer. Current loop iteration (1 = first).
- cwd
Character or NULL. Working directory.
- compaction_ctrl
A
CompactionControlleror NULL.- resource_state
A
ContentReplacementStateor NULL.