Skip to content

feat: Mermaid is now directly output by LLM#25

Merged
sheepbox8646 merged 12 commits intomainfrom
lilia/dev
Nov 22, 2025
Merged

feat: Mermaid is now directly output by LLM#25
sheepbox8646 merged 12 commits intomainfrom
lilia/dev

Conversation

@Lilia-Chen
Copy link
Collaborator

Context

A part of the issue https://github.com/sheepbox8646/ChatTutor/issues/21

Work in progress

Still can't correctly parse the block head...

@Lilia-Chen Lilia-Chen self-assigned this Nov 19, 2025
@Lilia-Chen Lilia-Chen added the enhancement New feature or request label Nov 19, 2025
@Lilia-Chen Lilia-Chen marked this pull request as draft November 19, 2025 00:49
sheepbox8646 and others added 10 commits November 19, 2025 19:19
* feat: slider & variables expose

* feat: form creation action

* feat: slider
commit 417ed83
Merge: a4eaa91 50af2ae
Author: Acbox <acbox0328@gmail.com>
Date:   Thu Nov 20 02:39:11 2025 +0800

    Merge branch 'main' into docs

commit a4eaa91
Author: Acbox <acbox0328@gmail.com>
Date:   Thu Nov 20 02:38:52 2025 +0800

    docs: add blog `2025-11-20`

commit d62191a
Author: Acbox <acbox0328@gmail.com>
Date:   Thu Nov 20 00:13:02 2025 +0800

    feat: add blog config
@Lilia-Chen Lilia-Chen marked this pull request as ready for review November 19, 2025 23:20
@Lilia-Chen
Copy link
Collaborator Author

Hi @sheepbox8646, I need your review on this due to the important change in the code.
Currently, LLM can directly output Mermaid code, and the agent/service layer can automatically parse it as a Mermaid page and render it on the front end. The created page will be pushed into pages, so LLM still know them in the message/memory.
As a next step, the current code can be extended to parse note pages and code blocks.

@sheepbox8646 sheepbox8646 merged commit 76377b9 into main Nov 22, 2025
@Lilia-Chen Lilia-Chen deleted the lilia/dev branch November 22, 2025 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants