This commit is contained in:
Saoud Rizwan
2024-10-28 04:41:26 -04:00
parent b981b3a552
commit 20e68748aa
2 changed files with 4 additions and 3 deletions

View File

@@ -750,7 +750,7 @@ export class Cline {
}
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()) {
// 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)

View File

@@ -40,9 +40,10 @@ const Announcement = ({ version, hideAnnouncement }: AnnouncementProps) => {
"Computer Use"
</VSCodeLink>{" "}
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" }}>
See a demo here.
see a full demo here.
</VSCodeLink>
</p>
{/*<ul style={{ margin: "0 0 8px", paddingLeft: "12px" }}>