Skip to content

Comments

Fix regression parsing singly quoted strings in LLM output#76

Merged
jseyfried merged 1 commit intomainfrom
json-fallback
Feb 15, 2026
Merged

Fix regression parsing singly quoted strings in LLM output#76
jseyfried merged 1 commit intomainfrom
json-fallback

Conversation

@jseyfried
Copy link
Contributor

@jseyfried jseyfried commented Feb 14, 2026

json.loads(f'"{match[1:-1]}"') doesn't work because of examples like ' " '. Using ast.literal_eval here instead.

@jseyfried jseyfried merged commit 4e708e5 into main Feb 15, 2026
2 checks 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