Skip to content

Add the msg_parts message model and msg2md/dlg2md Markdown rendering - #4

Merged
jph00 merged 1 commit into
mainfrom
pr/add-the-msg-parts-message-model-and-msg2md-dlg2md
Jul 27, 2026
Merged

Add the msg_parts message model and msg2md/dlg2md Markdown rendering#4
jph00 merged 1 commit into
mainfrom
pr/add-the-msg-parts-message-model-and-msg2md-dlg2md

Conversation

@jph00

@jph00 jph00 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

msg_parts carries the canonical LLM message model - Msg, Part, ToolCall - and its formatted text form: the fenced-JSON tool wire blocks (parse_tools, strip_tools, conv_tools, mk_tr_details) and the reply/history converters fmt2hist/hist2fmt.

msg2md/dlg2md render a message or dialog as a plain Markdown document: notes verbatim, code in ```python fences with outputs rendered by fastcore's new render_md in `::: output` divs, prompts and replies in `::: prompt`/`::: reply` divs. viewmd in mdhtml now renders notebooks through them.

@jph00 jph00 added the enhancement New feature or request label Jul 27, 2026
@jph00
jph00 merged commit dbe2025 into main Jul 27, 2026
1 check failed
@jph00
jph00 deleted the pr/add-the-msg-parts-message-model-and-msg2md-dlg2md branch July 27, 2026 07:06
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.

1 participant