From bc5a6f6d9ca941fd028d1345e28963fdb55f7415 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Wed, 15 May 2024 15:52:30 -0700 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20gpt-4o=20system=20prompt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/config/onboarding.ts | 2 ++ gui/src/components/Layout.tsx | 2 +- gui/src/pages/gui.tsx | 2 +- gui/src/util/modelData.ts | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/core/config/onboarding.ts b/core/config/onboarding.ts index 6996682dc..eb6a7cc45 100644 --- a/core/config/onboarding.ts +++ b/core/config/onboarding.ts @@ -15,6 +15,8 @@ export function setupOptimizedMode( title: "GPT-4o (Free Trial)", provider: "free-trial", model: "gpt-4o", + systemMessage: + "You are an expert software developer. You give helpful and concise responses.", }, { title: "GPT-3.5-Turbo (Free Trial)", diff --git a/gui/src/components/Layout.tsx b/gui/src/components/Layout.tsx index 4d41fd2de..3ff75d3c2 100644 --- a/gui/src/components/Layout.tsx +++ b/gui/src/components/Layout.tsx @@ -253,7 +253,7 @@ const Layout = () => { parseInt(localStorage.getItem("ftc") || "0") >= 50) && ( )} diff --git a/gui/src/pages/gui.tsx b/gui/src/pages/gui.tsx index c746e17e0..76aca20d6 100644 --- a/gui/src/pages/gui.tsx +++ b/gui/src/pages/gui.tsx @@ -240,7 +240,7 @@ function GUI(props: GUIProps) { const u = parseInt(ftc); localStorage.setItem("ftc", (u + 1).toString()); - if (u >= 150) { + if (u >= 100) { dispatch(setShowDialog(true)); dispatch(setDialogMessage()); posthog?.capture("ftc_reached"); diff --git a/gui/src/util/modelData.ts b/gui/src/util/modelData.ts index c831c1ab9..a7797bec7 100644 --- a/gui/src/util/modelData.ts +++ b/gui/src/util/modelData.ts @@ -558,6 +558,8 @@ const gpt4o: ModelPackage = { model: "gpt-4o", contextLength: 128_000, title: "GPT-4o", + systemMessage: + "You are an expert software developer. You give helpful and concise responses.", }, providerOptions: ["openai", "freetrial"], icon: "openai.png",