mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-28 07:35:27 -04:00
fix(chat): make resend message non-destructive
Keep normal resend from truncating session history while preserving replace-from-here behavior for regenerate flows.
This commit is contained in:
@@ -362,7 +362,7 @@ function _openVisionEditor(att, userMsgEl) {
|
||||
await _saveVisionText();
|
||||
_closeVisionEditor();
|
||||
if (userMsgEl && window.chatModule?.resendUserMessage) {
|
||||
window.chatModule.resendUserMessage(userMsgEl);
|
||||
window.chatModule.resendUserMessage(userMsgEl, { replaceFromHere: true });
|
||||
} else if (uiModule?.showToast) {
|
||||
uiModule.showToast('Saved');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user