Commit d54545b
committed
fix: improve regex pattern for terminal command tags
- Change regex from (.*?) to ([\s\S]*?) to properly handle multiline content
- This should fix the issue where <run_terminal_cmd> tags appear as literal text
- Terminal commands should now be parsed correctly and not displayed in chat UI1 parent 4d8153f commit d54545b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
0 commit comments