Skip to content

Commit 87bc31d

Browse files
author
jiangpeiling
committed
🐛 Button text in agent tools modal are not centered. #1506
1 parent dca4345 commit 87bc31d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

frontend/app/[locale]/chat/streaming/chatStreamHandler.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -897,8 +897,9 @@ export const handleStreamResponse = async (
897897
history,
898898
});
899899
// Update the title above the conversation
900-
const finalTitle = title || t("chatInterface.newConversation");
901-
setConversationTitle(finalTitle);
900+
if (title) {
901+
setConversationTitle(title);
902+
}
902903
// Update the list
903904
await fetchConversationList();
904905
} catch (error) {

0 commit comments

Comments
 (0)