From 746027626f323c84f9a9630aa5952dfa66af395c Mon Sep 17 00:00:00 2001 From: Rolando Santamaria Maso Date: Mon, 27 Jul 2026 20:27:59 +0200 Subject: [PATCH] refactor(tui): drop think on|off indicator from header Thinking is configured via odek's config.json, so showing a per-turn toggle state in the top bar is redundant. The /thinking command and ^T toggle still work; only the header segment is removed. --- internal/tui/view.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/internal/tui/view.go b/internal/tui/view.go index 4dedc37..fc014c2 100644 --- a/internal/tui/view.go +++ b/internal/tui/view.go @@ -47,10 +47,6 @@ func (m *Model) header() string { logo += " " + th.headerMeta.Render(v) } - think := "off" - if m.thinkOn { - think = "on" - } modelName := m.model if modelName == "" { modelName = "default" @@ -58,14 +54,13 @@ func (m *Model) header() string { // Sandbox status, prominently colored: green ● when isolated, amber ▲ // when the agent has host access. sandbox := m.sandboxBadge() - meta := th.headerMeta.Render(" · think ") + th.headerKey.Render(think) model := th.headerKey.Render(modelName) left := logo + " " + model if m.odekVersion != "" { left += th.headerMeta.Render(" · odek ") + th.headerKey.Render(m.odekVersion) } - left += th.headerMeta.Render(" · ") + sandbox + meta + left += th.headerMeta.Render(" · ") + sandbox status := m.statusBadge() tokens := th.headerMeta.Render(fmt.Sprintf("∑ ⌂ %s · ⎇ %s",