Skip to content

Commit

Permalink
regeneration - don't remove human message unnecessarily
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodanswer committed Sep 6, 2024
1 parent 5abf67f commit 491f325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/app/chat/ChatPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1785,7 +1785,7 @@ export function ChatPage({
: null;
if (
currentSessionRegenerationState?.regenerating &&
message.messageId >=
message.messageId >
currentSessionRegenerationState?.finalMessageIndex!
) {
return <></>;
Expand Down

0 comments on commit 491f325

Please sign in to comment.