Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix thoughts extraction regex for multiline content handling (#687)
# PR Checklist - [x] Did you check if it works normally in all models? *ignore this when it dosen't uses models* - [x] Did you check if it works normally in all of web, local and node hosted versions? if it dosen't, did you blocked it in those versions? - [ ] Did you added a type def? # Description This PR updates the regex used for extracting <Thoughts> content to handle multiline cases reliably. The previous regex (.+?) had limitations when processing text spanning multiple lines, as it could not match content with line breaks.
- Loading branch information