Skip to content

feat(tui): Display configured assistant name in chat bubbles#89

Open
rexlunae wants to merge 1 commit intomainfrom
feat/assistant-name-label
Open

feat(tui): Display configured assistant name in chat bubbles#89
rexlunae wants to merge 1 commit intomainfrom
feat/assistant-name-label

Conversation

@rexlunae
Copy link
Owner

Feature request from Erica: Show the configured assistant name instead of "Assistant" in chat bubbles.

Changes

  • Add assistant_name prop to MessageBubbleProps and MessagesProps
  • Thread soul_name from RootPropsMessagesMessageBubble
  • Use configured name for MessageRole::Assistant, falls back to "Assistant"

Example

With agent_name = "Luthen" in config:

🤖 Luthen
Hello! How can I help?

Without config (default):

🤖 Assistant
Hello! How can I help?

Instead of hardcoded "Assistant" label, use the configured agent_name
(via soul_name prop) when available. Falls back to "Assistant" if not set.

Threads the name through: RootProps.soul_name → MessagesProps.assistant_name
→ MessageBubbleProps.assistant_name
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