summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/todos.md10
-rw-r--r--src/tui_app.zig2
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/todos.md b/docs/todos.md
index cda1c6f..17dee74 100644
--- a/docs/todos.md
+++ b/docs/todos.md
@@ -18,16 +18,16 @@
## panto cli
- [ ] tui
- - [ ] fuzzy typeahead model selector
+ - [x] fuzzy typeahead model selector
- [ ] tab completion: filenames in cwd, slash commands
- [x] rendering system for screen components
- [x] lua slash commands
- [ ] additional lua extension API
- - [ ] Agent objects
- - [ ] Conversation objects
+ - [x] Agent objects
+ - [x] Conversation objects
- [ ] the current agent, conversation
- - [ ] system prompt
- - [ ] usage metrics
+ - [x] system prompt
+ - [x] usage metrics
- [x] tui screen components
- [ ] server proxy mode
- [ ] shared-object extensions
diff --git a/src/tui_app.zig b/src/tui_app.zig
index 42dc929..4e9fee3 100644
--- a/src/tui_app.zig
+++ b/src/tui_app.zig
@@ -914,7 +914,7 @@ pub const App = struct {
// (output/reasoning excluded — not "in the window"). Latest
// value wins; not accumulated.
if (mc.usage) |u| {
- const ctx = u.input + u.cache_read + u.cache_write;
+ const ctx = u.input + u.cache_read + u.cache_write + u.output;
self.footer.setContextTokens(ctx);
self.scheduler.requestRender();
}