#* The ThoughtFrame chat transcript, rendered to one HTML document. Values (all plain data): $turns list of { role: user|agent|system, body: string } $background hex rgb, workbench widget background $foreground hex rgb, workbench widget foreground $code hex rgb, code/tint background $dim hex rgb, label colour $scrollToBottom whether the document should jump to the end on load $markdown MarkdownTool; Velocity cannot parse markdown itself *# #foreach($turn in $turns)
#if($turn.role == "user")
You
$markdown.escape($turn.body)
#elseif($turn.role == "agent")
ThoughtFrame
$markdown.toHtml($turn.body) #else
$markdown.escape($turn.body)
#end
#end