Markdown has some pretty rough limitations that become especially apparent once you need to nest it.
A large class of bugs and workarounds could be eliminated if we switched to XML-style prompting, but on the other hand I've invested so much work into getting the markdown stuff to work that I'm pretty happy with where it is at.
Relevant issues:
67 (making tool calls explicit XML/JSON messages, instead of ambiguous might-be-an-example codeblocks, would fix this)
Markdown has some pretty rough limitations that become especially apparent once you need to nest it.
A large class of bugs and workarounds could be eliminated if we switched to XML-style prompting, but on the other hand I've invested so much work into getting the markdown stuff to work that I'm pretty happy with where it is at.
Relevant issues:
67 (making tool calls explicit XML/JSON messages, instead of ambiguous might-be-an-example codeblocks, would fix this)