The markdown parser doesn't handle escaped backticks correctly.
The `Ran \`cmd\`` opener, the fenced output, and the `[Output truncated...]` footer are what Pi injects into the LLM's context for every bash call, on top of the raw tool result.
The escaped backticks within inline code blocks are not being parsed properly.
Author: redbeard0531
Channel: #shelley
Link: https://discord.com/channels/1405685085923049482/1450334528210993295/1539715811122487517
Issue
The markdown parser doesn't handle escaped backticks correctly.
Example
The escaped backticks within inline code blocks are not being parsed properly.
Attachments