We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 454fa73 + 55d26c7 commit 3e2d08dCopy full SHA for 3e2d08d
frontend/app/[locale]/chat/streaming/chatStreamHandler.tsx
@@ -651,7 +651,7 @@ export const handleStreamResponse = async (
651
}
652
653
// If it is the first answer of a new conversation, generate a title
654
- if (isNewConversation && newMessages.length === 2) {
+ if (isNewConversation && newMessages.length >= 2) {
655
// Use setTimeout to ensure the state has been updated
656
setTimeout(async () => {
657
try {
0 commit comments