Skip to content

Commit 5da8096

Browse files
authored
refactor(tui): drop think on|off indicator from header (#18)
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.
1 parent 9615faf commit 5da8096

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎internal/tui/view.go‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,20 @@ func (m *Model) header() string {
4747
logo += " " + th.headerMeta.Render(v)
4848
}
4949

50-
think := "off"
51-
if m.thinkOn {
52-
think = "on"
53-
}
5450
modelName := m.model
5551
if modelName == "" {
5652
modelName = "default"
5753
}
5854
// Sandbox status, prominently colored: green ● when isolated, amber ▲
5955
// when the agent has host access.
6056
sandbox := m.sandboxBadge()
61-
meta := th.headerMeta.Render(" · think ") + th.headerKey.Render(think)
6257
model := th.headerKey.Render(modelName)
6358

6459
left := logo + " " + model
6560
if m.odekVersion != "" {
6661
left += th.headerMeta.Render(" · odek ") + th.headerKey.Render(m.odekVersion)
6762
}
68-
left += th.headerMeta.Render(" · ") + sandbox + meta
63+
left += th.headerMeta.Render(" · ") + sandbox
6964

7065
status := m.statusBadge()
7166
tokens := th.headerMeta.Render(fmt.Sprintf("∑ ⌂ %s · ⎇ %s",

0 commit comments

Comments
 (0)