From 3576f606e54721906545153d7fd988a77dab3f6d Mon Sep 17 00:00:00 2001 From: nang-dev Date: Tue, 1 Apr 2025 16:37:28 -0400 Subject: [PATCH 1/2] Working --- src/shared/api.ts | 4 ++-- webview-ui/src/components/ui/button.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shared/api.ts b/src/shared/api.ts index 362ea95a362..817ef5e9559 100644 --- a/src/shared/api.ts +++ b/src/shared/api.ts @@ -1043,9 +1043,9 @@ export const unboundDefaultModelInfo: ModelInfo = { } // CHANGE AS NEEDED FOR TESTING // PROD: -export const PEARAI_URL = "https://stingray-app-gb2an.ondigitalocean.app/pearai-server-api2/integrations/cline" +// export const PEARAI_URL = "https://stingray-app-gb2an.ondigitalocean.app/pearai-server-api2/integrations/cline" // DEV: -// export const PEARAI_URL = "http://localhost:8000/integrations/cline" +export const PEARAI_URL = "http://localhost:8000/integrations/cline" // PearAI export type PearAiModelId = keyof typeof pearAiModels diff --git a/webview-ui/src/components/ui/button.tsx b/webview-ui/src/components/ui/button.tsx index 209646571e8..f50855e3f4e 100644 --- a/webview-ui/src/components/ui/button.tsx +++ b/webview-ui/src/components/ui/button.tsx @@ -13,7 +13,7 @@ const buttonVariants = cva( "border border-vscode-input-border bg-primary text-primary-foreground shadow hover:bg-primary/90", destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90", outline: - "border border-vscode-input-border bg-background shadow-sm hover:bg-accent hover:text-accent-foreground", + "border border-vscode-input-border bg-vscode-input-background shadow-sm hover:bg-accent hover:text-accent-foreground", secondary: "border border-vscode-input-border bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80", ghost: "hover:bg-accent hover:text-accent-foreground", From ff67230df8e48187f5252cbcf45c21f85bed8f48 Mon Sep 17 00:00:00 2001 From: nang-dev Date: Tue, 1 Apr 2025 16:38:28 -0400 Subject: [PATCH 2/2] Working --- src/shared/api.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shared/api.ts b/src/shared/api.ts index 817ef5e9559..362ea95a362 100644 --- a/src/shared/api.ts +++ b/src/shared/api.ts @@ -1043,9 +1043,9 @@ export const unboundDefaultModelInfo: ModelInfo = { } // CHANGE AS NEEDED FOR TESTING // PROD: -// export const PEARAI_URL = "https://stingray-app-gb2an.ondigitalocean.app/pearai-server-api2/integrations/cline" +export const PEARAI_URL = "https://stingray-app-gb2an.ondigitalocean.app/pearai-server-api2/integrations/cline" // DEV: -export const PEARAI_URL = "http://localhost:8000/integrations/cline" +// export const PEARAI_URL = "http://localhost:8000/integrations/cline" // PearAI export type PearAiModelId = keyof typeof pearAiModels