summaryrefslogtreecommitdiff
path: root/src/system_prompt.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/system_prompt.zig')
-rw-r--r--src/system_prompt.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/system_prompt.zig b/src/system_prompt.zig
index e2b2907..b2b01b1 100644
--- a/src/system_prompt.zig
+++ b/src/system_prompt.zig
@@ -6,7 +6,7 @@
//! CLI already uses, in precedence order base → user → project (project
//! highest):
//!
-//! base = $PANTO_HOME/agent/ (= $XDG_DATA_HOME/panto/agent/)
+//! base = <data home>/agent/ (= $XDG_DATA_HOME/panto/agent/)
//! user = ${XDG_CONFIG_HOME:-$HOME/.config}/panto/
//! project = ./.panto/
//!
@@ -30,7 +30,7 @@ const Io = std.Io;
///
/// In normal operation this is never used: the base layer ships a bundled
/// `agent/SYSTEM.md` (embedded in the binary and staged to
-/// `$PANTO_HOME/agent/SYSTEM.md` at bootstrap), so a seed is always found.
+/// `<data home>/agent/SYSTEM.md` at bootstrap), so a seed is always found.
/// This constant only matters if that staged file is missing or
/// unreadable.
pub const default_seed = "You are a helpful assistant.";
@@ -83,7 +83,7 @@ pub const Resolved = struct {
/// Resolve the system-prompt blocks from the three config layers.
///
-/// `base_dir` is the base layer directory (`$PANTO_HOME/agent`). The user
+/// `base_dir` is the base layer directory (`<data home>/agent`). The user
/// layer is derived from `XDG_CONFIG_HOME`/`HOME`; the project layer is
/// `cwd()/.panto`. Allocations are made in `arena` (caller owns it).
pub fn resolve(