This commit is contained in:
Timothy Jaeryang Baek 2025-05-04 18:59:36 +04:00
parent 291834ecbe
commit 8514669053

View File

@ -2040,7 +2040,7 @@
{stopResponse}
{createMessagePair}
onChange={(input) => {
if (input.prompt) {
if (input.prompt !== null) {
localStorage.setItem(`chat-input-${$chatId}`, JSON.stringify(input));
} else {
localStorage.removeItem(`chat-input-${$chatId}`);