Skip to content

fix(cli): show default thinking status in TUI - #1006

Merged
Astro-Han merged 3 commits into
mainfrom
fix/cli-tui-thinking-status
Jul 15, 2026
Merged

Astro-Han merged 3 commits into
mainfrom
fix/cli-tui-thinking-status

Conversation

@Astro-Han

@Astro-Han Astro-Han commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Show thinking:default in the TUI status line when the current model exposes thinking levels but the user has not selected an explicit override.

This keeps unsupported models unchanged and continues to show explicit values such as thinking:high. It fixes Ollama Cloud GLM-5.2 appearing without any thinking status despite supporting configurable reasoning effort.

Verification

  • npm --workspace maka-agent test
  • 351 tests passed
  • Added status-line contract tests for explicit, default, unavailable, and empty thinking levels
  • CI: typecheck, test, and e2e passed

…ailable

The TUI status line only showed a thinking segment when thinkingLevel
was explicitly set, hiding thinking availability for models that support
thinking but have no level chosen yet (e.g. ollama-cloud reasoning
models). Mirror Desktop's always-show behavior: when thinkingLevel is
unset but thinkingLevels is non-empty, render 'thinking:default' so
users can see and pick a thinking level. When no levels are available,
the segment is omitted as before.
@Astro-Han
Astro-Han merged commit 111906e into main Jul 15, 2026
3 checks passed
@Astro-Han
Astro-Han deleted the fix/cli-tui-thinking-status branch July 15, 2026 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant