webui: fix LLM title generation for agentic conversations (#22840)
This commit is contained in:
1 parent
29debb3a6a
commit
5d6f18a638
2 files changed
+11
-7
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user