Commit f506afc4 authored by nextime's avatar nextime

Enhance prompt and parser to prevent XML/code block responses

- Clarified prompt to prevent XML tags and code blocks around JSON output
- Specified that formatting restrictions apply only to JSON wrapper, not answer content
- Enhanced JavaScript parser to detect JSON in span elements and other containers
- Added comprehensive container detection including spans, divs, and paragraphs
- Improved JSON detection to handle responses outside of code blocks
- Maintained backward compatibility with existing code block detection
parent 12dedbaf
Pipeline #175 canceled with stages