mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-21 04:41:16 -05:00
Fixes
This commit is contained in:
@@ -973,6 +973,13 @@ export class Cline {
|
||||
newContent = newContent.split("\n").slice(0, -1).join("\n").trim()
|
||||
}
|
||||
|
||||
if (
|
||||
this.api.getModel().id.includes("llama") &&
|
||||
(newContent.includes(">") || newContent.includes("<"))
|
||||
) {
|
||||
newContent = newContent.replace(/>/g, ">").replace(/</g, "<")
|
||||
}
|
||||
|
||||
const sharedMessageProps: ClineSayTool = {
|
||||
tool: fileExists ? "editedExistingFile" : "newFileCreated",
|
||||
path: getReadablePath(cwd, removeClosingTag("path", relPath)),
|
||||
|
||||
Reference in New Issue
Block a user