summaryrefslogtreecommitdiff
path: root/extension/react-app
diff options
context:
space:
mode:
authorTy Dunn <ty@tydunn.com>2023-07-03 18:54:33 -0700
committerTy Dunn <ty@tydunn.com>2023-07-03 18:54:33 -0700
commitc2bb7fa581d2d226e25fccb245e4aecc128a5788 (patch)
treeeaf18b552567e477235277de12d26d42aa565a08 /extension/react-app
parenta37550d5acc0c79efd18c80d9be3dcb3999dd4e9 (diff)
downloadsncontinue-c2bb7fa581d2d226e25fccb245e4aecc128a5788.tar.gz
sncontinue-c2bb7fa581d2d226e25fccb245e4aecc128a5788.tar.bz2
sncontinue-c2bb7fa581d2d226e25fccb245e4aecc128a5788.zip
improving slash command message
Diffstat (limited to 'extension/react-app')
-rw-r--r--extension/react-app/src/components/ComboBox.tsx2
-rw-r--r--extension/react-app/src/tabs/gui.tsx4
2 files changed, 3 insertions, 3 deletions
diff --git a/extension/react-app/src/components/ComboBox.tsx b/extension/react-app/src/components/ComboBox.tsx
index f299c3a2..87c1abc0 100644
--- a/extension/react-app/src/components/ComboBox.tsx
+++ b/extension/react-app/src/components/ComboBox.tsx
@@ -158,7 +158,7 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => {
<div className="flex px-2" ref={divRef} hidden={!isOpen}>
<MainTextInput
disabled={props.disabled}
- placeholder="Type '/' to see available slash commands."
+ placeholder="Ask a question, give instructions, or type '/' to see slash commands"
{...getInputProps({
onChange: (e) => {
const target = e.target as HTMLTextAreaElement;
diff --git a/extension/react-app/src/tabs/gui.tsx b/extension/react-app/src/tabs/gui.tsx
index e0b32a24..973982ba 100644
--- a/extension/react-app/src/tabs/gui.tsx
+++ b/extension/react-app/src/tabs/gui.tsx
@@ -87,12 +87,12 @@ function GUI(props: GUIProps) {
name: "Welcome to Continue",
hide: false,
description:
- "Type '/' to see the list of available slash commands. If you highlight code, edits and explanations will be localized to the highlighted range. Otherwise, the currently open file is used. In both cases, the code is combined with the previous steps to construct the context.",
+ "Highlight code and ask a question or give instructions. Past steps are used as additional context by default. Use slash commands when you want fine-grained control.",
system_message: null,
chat_context: [],
manage_own_chat_context: false,
message:
- "Type '/' to see the list of available slash commands. If you highlight code, edits and explanations will be localized to the highlighted range. Otherwise, the currently open file is used. In both cases, the code is combined with the previous steps to construct the context.",
+ "Highlight code and ask a question or give instructions. Past steps are used as additional context by default. Use slash commands when you want fine-grained control.",
},
depth: 0,
deleted: false,