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/backend
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
..
backend.go Add streaming support for bot output and tool execution 2026-04-01 12:52:58 +02:00
new.go Remove openrouter backend alias 2026-04-01 00:57:18 +02:00
ollama.go Add streaming support for bot output and tool execution 2026-04-01 12:52:58 +02:00
openai.go Add streaming support for bot output and tool execution 2026-04-01 12:52:58 +02:00