Skip to content

Conversation

@cryptax
Copy link
Contributor

@cryptax cryptax commented Mar 24, 2025

Checklist

Description

As suggested in the issue, the solution is to detect the markdown formatting for JSON and remove that. If we detect markdown on the first and last line, we'll remove the lines.

So, if the AI adequately returns pure JSON, this will work.
If the AI returns markdown triple quote, this works too.

@trufae trufae merged commit 65371a6 into radareorg:master Mar 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants