Skip to content

Commit 20e6874

Browse files
committed
Fixes
1 parent b981b3a commit 20e6874

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/core/Cline.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ export class Cline {
750750
}
751751

752752
async *attemptApiRequest(previousApiReqIndex: number): ApiStream {
753-
let systemPrompt = await SYSTEM_PROMPT(cwd, this.api.getModel().info.supportsImages ?? false)
753+
let systemPrompt = await SYSTEM_PROMPT(cwd, this.api.getModel().info.supportsComputerUse ?? false)
754754
if (this.customInstructions && this.customInstructions.trim()) {
755755
// 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>
756756
systemPrompt += addCustomInstructions(this.customInstructions)

webview-ui/src/components/chat/Announcement.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ const Announcement = ({ version, hideAnnouncement }: AnnouncementProps) => {
4040
"Computer Use"
4141
</VSCodeLink>{" "}
4242
feature to launch a browser, click, type, and scroll. This gives him more autonomy in runtime debugging,
43-
end-to-end testing, and even general web use!{" "}
43+
end-to-end testing, and even general web use. Try asking "look up the weather in San Diego" to see it in
44+
action, or{" "}
4445
<VSCodeLink href="https://x.com/sdrzn/status/1843989769828602273" style={{ display: "inline" }}>
45-
See a demo here.
46+
see a full demo here.
4647
</VSCodeLink>
4748
</p>
4849
{/*<ul style={{ margin: "0 0 8px", paddingLeft: "12px" }}>

0 commit comments

Comments
 (0)