mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-10 03:28:03 +00:00
- Modified DirectiveStreamingParser to check if currently inside a tool parameter context - Added logic to treat nested XML tags as plain text when inside tool directive parameters - Made currentContext and currentParamName properties public in ToolDirectiveHandler for access - Updated both onopentag and onclosetag handlers to respect tool parameter boundaries - Fixes issue where <log_message> tags inside <attempt_completion><result> were being processed as separate directives - All existing tests continue to pass, new test case now passes
19 lines
440 B
Text
19 lines
440 B
Text
Some text with
|
|
```
|
|
<log_message>
|
|
<message>This is an example message that should display in text because it is in a code block</message>
|
|
<level>warn</level>
|
|
</log_message>
|
|
```
|
|
More text
|
|
<log_message>
|
|
<message>This is a warning message that should be handled by the directive handler</message>
|
|
<level>warn</level>
|
|
</log_message>
|
|
"
|
|
|
|
|
|
Partials could have splits like
|
|
1. Some text with\n`
|
|
2. ``\n<log_
|
|
3. message>\n<message>
|