🖋️ feat: Add option to render User Messages as Markdown (#4170)

This commit is contained in:
Danny Avila 2024-09-20 20:29:42 -04:00 committed by GitHub
parent 42b7373ddc
commit be44caaab1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 94 additions and 21 deletions

View file

@ -23,6 +23,10 @@ const localStorageAtoms = {
autoScroll: atomWithLocalStorage('autoScroll', false),
hideSidePanel: atomWithLocalStorage('hideSidePanel', false),
fontSize: atomWithLocalStorage('fontSize', 'text-base'),
enableUserMsgMarkdown: atomWithLocalStorage<boolean>(
LocalStorageKeys.ENABLE_USER_MSG_MARKDOWN,
true,
),
// Messages settings
enterToSend: atomWithLocalStorage('enterToSend', true),