ollie/cmd/olliesrv/internal/prompts
Ollie Agent a4972cd456 Separate chat persistence from live delivery via chat.raw
Streaming partials were appended to log.raw per chunk, each carrying the
full cumulative content, so one response left dozens of partial lines
persisted. GUI clients parsing the snapshot re-rendered the growing block
once per partial (O(N^2)) and replayed all historical partials on every
reconnect, causing intermittent rendering loops.

Partials are no longer persisted: AppendBlock writes only finalized
blocks to log.raw; SetPartial broadcasts the in-flight block without
storing it. New chat.raw StreamRaw file is the authoritative live JSONL
source (finalized history replay, then live deltas); log.raw is a
finalized-only one-shot snapshot. GUI streams chat.raw, never polls
log.raw.
2026-10-10 15:57:48 +02:00
..
prompts.go refactor: move olliesrv and toolsrv packages to cmd/*/internal/ 2026-08-10 20:16:44 +02:00
prompts_test.go refactor: move olliesrv and toolsrv packages to cmd/*/internal/ 2026-08-10 20:16:44 +02:00
system_prompt.md Separate chat persistence from live delivery via chat.raw 2026-10-10 15:57:48 +02:00