mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-19 20:24:32 +02:00
regeneration - don't remove human message unnecessarily
This commit is contained in:
@@ -1785,7 +1785,7 @@ export function ChatPage({
|
||||
: null;
|
||||
if (
|
||||
currentSessionRegenerationState?.regenerating &&
|
||||
message.messageId >=
|
||||
message.messageId >
|
||||
currentSessionRegenerationState?.finalMessageIndex!
|
||||
) {
|
||||
return <></>;
|
||||
|
Reference in New Issue
Block a user