2
0
Saoud Rizwan 1 жил өмнө
parent
commit
20e68748aa

+ 1 - 1
src/core/Cline.ts

@@ -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)

+ 3 - 2
webview-ui/src/components/chat/Announcement.tsx

@@ -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" }}>