mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Fixes
This commit is contained in:
@@ -1032,16 +1032,18 @@ export class Cline {
|
|||||||
newContent = newContent.split("\n").slice(0, -1).join("\n").trim()
|
newContent = newContent.split("\n").slice(0, -1).join("\n").trim()
|
||||||
}
|
}
|
||||||
|
|
||||||
// it seems not just llama models are doing this, but also gemini and potentially others
|
if (!this.api.getModel().id.includes("claude")) {
|
||||||
if (
|
// it seems not just llama models are doing this, but also gemini and potentially others
|
||||||
newContent.includes(">") ||
|
if (
|
||||||
newContent.includes("<") ||
|
newContent.includes(">") ||
|
||||||
newContent.includes(""")
|
newContent.includes("<") ||
|
||||||
) {
|
newContent.includes(""")
|
||||||
newContent = newContent
|
) {
|
||||||
.replace(/>/g, ">")
|
newContent = newContent
|
||||||
.replace(/</g, "<")
|
.replace(/>/g, ">")
|
||||||
.replace(/"/g, '"')
|
.replace(/</g, "<")
|
||||||
|
.replace(/"/g, '"')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const sharedMessageProps: ClineSayTool = {
|
const sharedMessageProps: ClineSayTool = {
|
||||||
|
|||||||
@@ -125,8 +125,8 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
|
|||||||
marginTop: "5px",
|
marginTop: "5px",
|
||||||
color: "var(--vscode-descriptionForeground)",
|
color: "var(--vscode-descriptionForeground)",
|
||||||
}}>
|
}}>
|
||||||
When enabled, Cline will automatically read files, view directories, and inspect sites without
|
When enabled, Cline will automatically view directory contents and read files without requiring
|
||||||
requiring you to click the Approve button.
|
you to click the Approve button.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user