diff --git a/doc/usage.md b/doc/usage.md index 88e6681..19d94a6 100644 --- a/doc/usage.md +++ b/doc/usage.md @@ -364,15 +364,9 @@ Each agent can use a different `agent=`, `backend=`, or `model=`. --- -> **For implementers**: The raw 9P filesystem reference, store federation, and -> tool discovery internals are documented in [doc/whitepaper.md](whitepaper.md). - -## Viewing model context - -The rendered context window for any session is readable at -`session/{sname}/agent/{aname}/context` — the exact message array sent to the -backend on the last turn. Combined with `session/{sname}/agent/{aname}/systemprompt`, -this gives full visibility into what the model sees. +> **For implementers**: The raw 9P filesystem reference, store federation, tool +> discovery internals, context inspection, and system prompt overrides are +> documented in [doc/whitepaper.md](whitepaper.md). ## Alternative front-ends diff --git a/doc/whitepaper.md b/doc/whitepaper.md index fb1981b..65a970d 100644 --- a/doc/whitepaper.md +++ b/doc/whitepaper.md @@ -224,4 +224,13 @@ prompt commands are still appended on top. Model-specific prompts live at `~/.config/ollie/prompts/SYSTEM_PROMPT_*.md`. Create an agent config per model family and point `systemPrompt` at the -appropriate file. \ No newline at end of file +appropriate file. + +--- + +## Context Inspection + +The rendered context window for any session is readable at +`session/{sname}/agent/{aname}/context` — the exact message array sent to the +backend on the last turn. Combined with `session/{sname}/agent/{aname}/systemprompt`, +this gives full visibility into what the model sees. \ No newline at end of file