diff options
| author | t <t@tjp.lol> | 2026-06-23 09:38:23 -0600 |
|---|---|---|
| committer | t <t@tjp.lol> | 2026-06-23 10:53:26 -0600 |
| commit | 69a1ee138bb78ad4663fe2d9e58678f7b0d07b74 (patch) | |
| tree | 453d3ad42a07536220e6ca5d91b439ff57793e32 /src/system_prompt.zig | |
| parent | 538a5d926fa626a00cc3dc12c555f11f82867efd (diff) | |
ponytail simplifications to panto cli and lua extensiosn
Diffstat (limited to 'src/system_prompt.zig')
| -rw-r--r-- | src/system_prompt.zig | 6 |
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( |
