Skip to content

Add thought prefixes and model names to chat - #14

Merged
simo5 merged 2 commits into
mainfrom
thinking_ui
Oct 28, 2026
Merged

simo5 merged 2 commits into
mainfrom
thinking_ui

Conversation

@simo5

@simo5 simo5 commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Format streamed thoughts with a 'T> ' prefix and DarkGray syntax highlighting across chat, code, review, and thoughts buffers to visually distinguish model reasoning from regular output. Additionally, prepend the active model name to the chat answer prefix (e.g., 'model> ') and handle transitions between thoughts, tool outputs, and response chunks cleanly so prefixes are placed on the appropriate lines.

Assisted-by: Gemini 4 Argon

simo5 added 2 commits October 28, 2026 16:11
Format streaming thoughts across handlers with a 'T>'
prefix and add syntax highlighting. In chat buffers,
prepend the active model name to answer prefixes and
properly clear pending prefixes when streaming thoughts
or tool outputs to visually separate reasoning traces from
responses.

Assisted-by: Gemini 3.8 Flash
Signed-off-by: Simo Sorce <simo@redhat.com>
Introduce a UI preferences section to the global configuration,
allowing users to customize syntax highlight colors for prompts,
thoughts, status messages, errors, and tool execution notices.
Highlight setup is now centralized in a shared utility function,
and preferences can be edited or reset interactively in the global
configuration manager.

Assisted-by: Gemini 3.8 Flash
Signed-off-by: Simo Sorce <simo@redhat.com>
@simo5
simo5 merged commit d6f4a9f into main Oct 28, 2026
1 check passed
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