From 20e68748aa508d2bdaffeecf526d468163d89c3d Mon Sep 17 00:00:00 2001
From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
Date: Mon, 28 Oct 2024 04:41:26 -0400
Subject: [PATCH] Fixes
---
src/core/Cline.ts | 2 +-
webview-ui/src/components/chat/Announcement.tsx | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/core/Cline.ts b/src/core/Cline.ts
index 2f296db..887c66e 100644
--- a/src/core/Cline.ts
+++ b/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