update core README to reference embedded system prompt
This commit is contained in:
parent
e9644e7a3d
commit
852ce1e41b
|
|
@ -89,7 +89,7 @@ Hook values accept a string or an array of strings. Commands run in order; each
|
|||
|
||||
### System prompt
|
||||
|
||||
The base system prompt is loaded from `SYSTEM_PROMPT.md` (in `~/.config/ollie/prompts/`) by Go at session creation via `BuildAgentEnv`. Tool-specific prompts are injected via `preTurn` hooks using the `prime` script (`$OLLIE/x/prime <name>`), which reads a file from `p/` and writes it to stdout with environment variable substitution. The fully assembled result is readable at `s/<id>/systemprompt`.
|
||||
The base system prompt is embedded in the ollie binary (`system_prompt.md` in the 9p submodule) and loaded by Go at session creation via `BuildAgentEnv`. Tool-specific prompts are injected via `preTurn` hooks using the `prime` script (`$OLLIE/x/prime <name>`), which reads a file from `p/` and writes it to stdout with environment variable substitution. The fully assembled result is readable at `s/<id>/systemprompt`.
|
||||
|
||||
### Sandbox config: `~/.config/ollie/sandbox/<name>.yaml`
|
||||
|
||||
|
|
|
|||
Reference in New Issue