customGpts persist through localStorage

This commit is contained in:
Daniel Avila 2023-03-04 17:39:06 -05:00
parent 62bb6ea8f8
commit 9c3a78f96b
22 changed files with 405 additions and 220 deletions

View file

@ -59,7 +59,9 @@ export default function TextChat({ messages }) {
parentMessageId: id,
conversationSignature: null,
clientId: null,
invocationId: null
invocationId: null,
chatGptLabel: model === 'chatgptCustom' ? chatGptLabel : null,
promptPrefix: model === 'chatgptCustom' ? promptPrefix : null,
})
);
} else if (