diff options
Diffstat (limited to 'src/command.zig')
| -rw-r--r-- | src/command.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/command.zig b/src/command.zig index 49ad5b8..0f6fb01 100644 --- a/src/command.zig +++ b/src/command.zig @@ -32,10 +32,10 @@ const panto = @import("panto"); pub const Context = struct { allocator: std.mem.Allocator, - /// The active agent. Owns the conversation (`agent.conversation`) and - /// the session store (`agent.session_store`); commands reach both - /// through it rather than holding separate pointers. - agent: *panto.agent.Agent, + /// The active agent (a copyable public handle). Commands reach the + /// conversation via `agent.conversation()` and compact via + /// `agent.compact(...)`. + agent: panto.Agent, /// REPL output writer and its backing file writer (for flushing). stdout: *std.Io.Writer, |
