mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Fixes
This commit is contained in:
@@ -750,7 +750,7 @@ export class Cline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async *attemptApiRequest(previousApiReqIndex: number): ApiStream {
|
async *attemptApiRequest(previousApiReqIndex: number): ApiStream {
|
||||||
let systemPrompt = await SYSTEM_PROMPT(cwd, this.api.getModel().info.supportsImages ?? false)
|
let systemPrompt = await SYSTEM_PROMPT(cwd, this.api.getModel().info.supportsComputerUse ?? false)
|
||||||
if (this.customInstructions && this.customInstructions.trim()) {
|
if (this.customInstructions && this.customInstructions.trim()) {
|
||||||
// altering the system prompt mid-task will break the prompt cache, but in the grand scheme this will not change often so it's better to not pollute user messages with it the way we have to with <potentially relevant details>
|
// altering the system prompt mid-task will break the prompt cache, but in the grand scheme this will not change often so it's better to not pollute user messages with it the way we have to with <potentially relevant details>
|
||||||
systemPrompt += addCustomInstructions(this.customInstructions)
|
systemPrompt += addCustomInstructions(this.customInstructions)
|
||||||
|
|||||||
@@ -40,9 +40,10 @@ const Announcement = ({ version, hideAnnouncement }: AnnouncementProps) => {
|
|||||||
"Computer Use"
|
"Computer Use"
|
||||||
</VSCodeLink>{" "}
|
</VSCodeLink>{" "}
|
||||||
feature to launch a browser, click, type, and scroll. This gives him more autonomy in runtime debugging,
|
feature to launch a browser, click, type, and scroll. This gives him more autonomy in runtime debugging,
|
||||||
end-to-end testing, and even general web use!{" "}
|
end-to-end testing, and even general web use. Try asking "look up the weather in San Diego" to see it in
|
||||||
|
action, or{" "}
|
||||||
<VSCodeLink href="https://x.com/sdrzn/status/1843989769828602273" style={{ display: "inline" }}>
|
<VSCodeLink href="https://x.com/sdrzn/status/1843989769828602273" style={{ display: "inline" }}>
|
||||||
See a demo here.
|
see a full demo here.
|
||||||
</VSCodeLink>
|
</VSCodeLink>
|
||||||
</p>
|
</p>
|
||||||
{/*<ul style={{ margin: "0 0 8px", paddingLeft: "12px" }}>
|
{/*<ul style={{ margin: "0 0 8px", paddingLeft: "12px" }}>
|
||||||
|
|||||||
Reference in New Issue
Block a user