Closed unconv closed 1 year ago
The replace_text function given to GPT-4 does not seem to work properly when it comes to replacing code blocks. Perhaps the regex generated from the code block to replace is not properly formatted, or there are hallucinations in the text.
replace_text
The regex was in fact not formatted properly. Switched from regex replacing to normal replacing in ca7d430
This fix is included in the v0.1.2 release
The
replace_text
function given to GPT-4 does not seem to work properly when it comes to replacing code blocks. Perhaps the regex generated from the code block to replace is not properly formatted, or there are hallucinations in the text.