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 474eb84e2d agent,backend: drop non-streaming path
Both backends already implement streaming; the non-streaming fallback
was dead code that added complexity.

- Backend interface now requires only ChatStream; the separate
  StreamingBackend interface and Chat method are removed
- Both OpenAIBackend and OllamaBackend lose their Chat methods and the
  stream=bool parameter on their internal doChat helpers
- Loop.Run is simplified: one streaming path, no streamed flag, no
  skippedCalls map, no shouldStop helper, no runStreamStep indirection
- "call" events are now emitted solely in the act phase, not in the
  stream phase, so dedup tracking is no longer needed

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 20:11:10 +02:00
..
context.go agent: fix conversation history corruption on stream interruption 2026-04-03 19:59:45 +02:00
loop.go agent,backend: drop non-streaming path 2026-04-03 20:11:10 +02:00
session.go agent: add bounded context builder to prevent prompt explosion 2026-04-01 13:10:56 +02:00
state.go Add agent package: observe/decide/act/update/terminate loop 2026-03-31 22:53:40 +02:00