diff --git a/wwwroot/css/chat.css b/wwwroot/css/chat.css index e16177b..951f0a7 100644 --- a/wwwroot/css/chat.css +++ b/wwwroot/css/chat.css @@ -1144,8 +1144,6 @@ .auto-context-box .auto-context-content { padding: var(--box-padding); - font-size: 0.85em; - opacity: 0.85; } /* Review Bubbles */ diff --git a/wwwroot/js/history.js b/wwwroot/js/history.js index b0244b6..63a3d2b 100644 --- a/wwwroot/js/history.js +++ b/wwwroot/js/history.js @@ -267,8 +267,8 @@ function _renderMessagesIntoFragment(fragment, msgs, imageMessageIds, opts) { acHeader.className = 'tool-box-header clickable'; acHeader.innerHTML = 'Auto-Context'; var acContent = document.createElement('div'); - acContent.className = 'auto-context-content'; - acContent.textContent = msg.content.replace(/<\/?recalled_context>/g, '').trim(); + acContent.className = 'auto-context-content markdown'; + acContent.innerHTML = renderMarkdown(msg.content.replace(/<\/?recalled_context>/g, '').trim()); acContent.hidden = true; acHeader.addEventListener('click', function() { acContent.hidden = !acContent.hidden; }); acDiv.appendChild(acHeader);