When the three backticks indicating the start of a markdown block are present in completion output, the output parser does not know what to do with it (i.e., it can't find a colon so it ignores the line, but doesn't continue to the next line properly). This could indicate some other parsing bugs, but for now it looks like this (without the escaping on line 4):
INFO:ontogpt.clients.openai_client:Storing payload of len: 1412
INFO:root:RAW TEXT: ```
...output text...
\```
ERROR:root:Line '```' does not contain a colon; ignoring
DEBUG:root:RAW: None
DEBUG:root:Grounding annotation object None
ERROR:root:Cannot ground None annotation, cls=Document
DEBUG:httpcore.connection:close.started
DEBUG:httpcore.connection:close.complete
When the three backticks indicating the start of a markdown block are present in completion output, the output parser does not know what to do with it (i.e., it can't find a colon so it ignores the line, but doesn't continue to the next line properly). This could indicate some other parsing bugs, but for now it looks like this (without the escaping on line 4):