Skip to content

Conversation

@erkinalp
Copy link
Contributor

Fixes #53

Improves JSON parsing to handle both marked and unmarked content:

  • Adds fallback parsing for valid JSON without markers
  • Maintains backward compatibility via strict_mode parameter
  • Adds comprehensive tests for different formats
  • Updates components to use appropriate parsing mode
  • Improves error handling and reporting

Link to Devin run: https://app.devin.ai/sessions/c75521a812964cdb852d794c4797fba4

devin-ai-integration bot and others added 2 commits December 21, 2024 06:14
- Add strict_mode parameter for backward compatibility
- Implement fallback parsing for unmarked JSON
- Add comprehensive test suite for JSON parsing
- Improve error handling and reporting

Co-Authored-By: Erkin Alp Güney <[email protected]>
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.

extract_json_between_markers doesn't handle responses missing json markers

1 participant