webui: fix LLM title generation for agentic conversations (#22840)

This commit is contained in:
smugman-dot
2026-05-08 15:36:04 +01:00
committed by GitHub
parent 29debb3a6a
commit 5d6f18a638
2 changed files with 11 additions and 7 deletions
@@ -856,6 +856,10 @@ class ChatStore {
perChatOverrides
});
if (agenticResult.handled) {
// Generate LLM based title for new conversations after agentic flow completes
if (firstUserMessageContent) {
await this.generateTitleWithLLM(firstUserMessageContent, streamedContent, convId);
}
// Check if there's a pending steering message to re-send
const pending = agenticStore.consumePendingSteeringMessage(convId);
if (pending) {