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 f9ba6c8bce Track and display token usage per request
Add Usage{InputTokens, OutputTokens} to backend.Response. Both
OllamaBackend (prompt_eval_count/eval_count) and OpenAIBackend
(prompt_tokens/completion_tokens) populate it. The loop emits a
'usage' OutputMsg after each Chat call; the UI displays it as
[↑N ↓N tokens].

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 00:31:03 +02:00
..
loop.go Track and display token usage per request 2026-04-01 00:31:03 +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