### What problem does this PR solve? Fix: In the Agent's workflow, the input content cannot be wrapped, and \n will not work, otherwise an error will be reported #6241 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)tags/v0.18.0
| const handleInputChange: ChangeEventHandler<HTMLTextAreaElement> = (e) => { | const handleInputChange: ChangeEventHandler<HTMLTextAreaElement> = (e) => { | ||||
| const value = e.target.value; | const value = e.target.value; | ||||
| const nextValue = value.replaceAll('\\n', '\n').replaceAll('\\t', '\t'); | |||||
| setValue(nextValue); | |||||
| // const nextValue = value.replaceAll('\\n', '\n').replaceAll('\\t', '\t'); | |||||
| setValue(value); | |||||
| }; | }; | ||||
| return { | return { |