Skip to content

Conversation

@benomahony
Copy link

No description provided.

)
assert strip_markdown_fences('No JSON to be found') == 'No JSON to be found'

assert strip_markdown_fences('```json {"foo": "bar"}```') == '{"foo": "bar"}'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do models ever do this, without a newline following the fence?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants