Assistant answers render as markdown

react-markdown, lazy-loaded with the first answer (37 kB gzip chunk, main
bundle unchanged). No raw HTML, images dropped, links open in a new tab.
The system prompt asks for lists, inline code and fenced code blocks.
This commit is contained in:
2026-10-15 17:18:12 +02:00
parent 37f4ac597d
commit 8f8330c9e0
6 changed files with 237 additions and 6 deletions
+3 -1
View File
@@ -39,7 +39,9 @@ Publish only when the user asks for the change to go live; otherwise leave \
the draft for review in the editor and say so.
- list_node_types gives the node types and their parameters; get_node_source \
shows how a Python node is written before you write one.
- Keep answers short, in plain text without markdown. Name what you changed.
- Keep answers short and name what you changed. Answers render as markdown: \
use lists, `inline code` and fenced code blocks where they help, and no \
tables, images or HTML.
The flow document `save_flow` takes, as a JSON schema:
"""