mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-03 05:29:12 +00:00
Fix setting title on new conversations, add the action menu
This commit is contained in:
@@ -146,6 +146,7 @@ export default function ChatHistory(props: ChatHistoryProps) {
|
||||
const lastMessage = props.incomingMessages[props.incomingMessages.length - 1];
|
||||
if (lastMessage && !lastMessage.completed) {
|
||||
setIncompleteIncomingMessageIndex(props.incomingMessages.length - 1);
|
||||
props.setTitle(lastMessage.rawQuery);
|
||||
}
|
||||
}
|
||||
}, [props.incomingMessages]);
|
||||
|
||||
Reference in New Issue
Block a user