move context inspection to whitepaper
This commit is contained in:
parent
956155010a
commit
ea3f407ebd
12
doc/usage.md
12
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
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
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.
|
||||
Loading…
Reference in New Issue