This repository has been archived on 2026-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ollie-core/agent
Levi Neely d60a1b9215 Add streaming support for bot output and tool execution
- backend: StreamingBackend interface + StreamEvent type
- backend/ollama: ChatStream with line-by-line JSON-LD decoder
- backend/openai: ChatStream with SSE delta parser + tool arg accumulation
- agent/loop: runStreamStep reads deltas, emits OutputMsg per chunk,
  deduplicates call/tool display between stream and outer loop
- main: agentMsg tea type streams incremental updates to the TUI;
  plain string buf replaces strings.Builder (avoids copy-by-value panic);
  drainAgent cancels in-flight goroutines cleanly on user interrupt
2026-04-01 12:52:58 +02:00
..
loop.go Add streaming support for bot output and tool execution 2026-04-01 12:52:58 +02:00
session.go Wire agent loop into TUI: replace ad-hoc ollama loop with backend+agent 2026-03-31 22:57:08 +02:00
state.go Add agent package: observe/decide/act/update/terminate loop 2026-03-31 22:53:40 +02:00