Skip to main content

Code, File & Source Previews

HTML/CSS/JS Code Preview

When an assistant message contains HTML, CSS, or JavaScript code, a Run button appears. Clicking it opens a preview panel with a toggle between Live Preview and Code view. The live preview is safely sandboxed (navigation and form submissions are blocked). The code view shows syntax-highlighted source.

File Previews

Attached files (PDF, images, documents) can be previewed directly in the chat by clicking on them. A sidebar opens showing the file content, with options to download or delete.

Source Previews

When web search is used, a source summary appears below the AI response. Click it to open the Sources panel, which lists all web pages with favicons, titles, and URLs. Click any source to jump to its details.