Auto-name conversations from chat message summary #12

Open
opened 2026-04-27 11:11:09 +00:00 by rawan · 0 comments
Member

Problem

Conversations in hero_agent currently lack meaningful names, making it hard to identify and navigate between them in the UI.

Proposed Feature

Automatically generate a conversation title by summarizing the chat messages (e.g., from the first few user/assistant exchanges).

Acceptance Criteria

  • After the first message exchange, generate a concise title (e.g., 5-8 words) summarizing the conversation topic
  • Title is persisted alongside the conversation
  • Title is displayed in the conversation list / sidebar
  • Title can be regenerated or manually edited by the user
  • Generation uses the existing AI client (herolib_ai) so it respects current provider/model configuration

Notes

  • Consider regenerating the title only if the current one is the default/empty, to avoid overwriting user edits.
  • Should be cheap: short prompt, low token budget.
## Problem Conversations in hero_agent currently lack meaningful names, making it hard to identify and navigate between them in the UI. ## Proposed Feature Automatically generate a conversation title by summarizing the chat messages (e.g., from the first few user/assistant exchanges). ## Acceptance Criteria - [ ] After the first message exchange, generate a concise title (e.g., 5-8 words) summarizing the conversation topic - [ ] Title is persisted alongside the conversation - [ ] Title is displayed in the conversation list / sidebar - [ ] Title can be regenerated or manually edited by the user - [ ] Generation uses the existing AI client (herolib_ai) so it respects current provider/model configuration ## Notes - Consider regenerating the title only if the current one is the default/empty, to avoid overwriting user edits. - Should be cheap: short prompt, low token budget.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_agent#12
No description provided.