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?

@github-actions
Copy link

This PR is stale, and will be closed in 3 days if no reply is received.

@github-actions github-actions bot added the Stale label Oct 30, 2025
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