From 1ef53a41f086d07a6b4c79f483e0f838c0556fca Mon Sep 17 00:00:00 2001 From: Danny Avila <110412045+danny-avila@users.noreply.github.com> Date: Sun, 16 Jul 2023 13:22:36 -0400 Subject: [PATCH] chore(Settings.jsx): update placeholder text for promptPrefix/system message (#656) --- client/src/components/Endpoints/OpenAI/Settings.jsx | 2 +- client/src/components/Endpoints/Plugins/Settings.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/Endpoints/OpenAI/Settings.jsx b/client/src/components/Endpoints/OpenAI/Settings.jsx index 18453ba76e..d38c17e339 100644 --- a/client/src/components/Endpoints/OpenAI/Settings.jsx +++ b/client/src/components/Endpoints/OpenAI/Settings.jsx @@ -87,7 +87,7 @@ function Settings(props) { disabled={readonly} value={promptPrefix || ''} onChange={(e) => setPromptPrefix(e.target.value || null)} - placeholder="Set custom instructions. Defaults to: 'You are ChatGPT, a large language model trained by OpenAI.'" + placeholder="Set custom instructions to include in System Message. Default: none" className={cn( defaultTextProps, 'flex max-h-[300px] min-h-[100px] w-full resize-none px-3 py-2 ', diff --git a/client/src/components/Endpoints/Plugins/Settings.jsx b/client/src/components/Endpoints/Plugins/Settings.jsx index d93d5f0be9..6d636312f3 100644 --- a/client/src/components/Endpoints/Plugins/Settings.jsx +++ b/client/src/components/Endpoints/Plugins/Settings.jsx @@ -97,7 +97,7 @@ function Settings(props) { placeholder={ toolsSelected ? 'Disabled with Tools Selected' - : 'Set custom instructions. Defaults to: \'You are ChatGPT, a large language model trained by OpenAI.\'' + : 'Set custom instructions to include in System Message. Default: none' } className={cn( defaultTextProps,