Merge branch 'main' of https://github.com/continuedev/continue
This commit is contained in:
commit
227c0635cf
4 changed files with 6 additions and 9 deletions
|
|
@ -29,7 +29,9 @@ class DemoPolicy(Policy):
|
|||
if history.get_current() is None:
|
||||
return (
|
||||
MessageStep(name="Welcome to Continue", message=dedent("""\
|
||||
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""")) >>
|
||||
WelcomeStep() >>
|
||||
# SetupContinueWorkspaceStep() >>
|
||||
# CreateCodebaseIndexChroma() >>
|
||||
|
|
|
|||
|
|
@ -58,11 +58,6 @@
|
|||
"default": "",
|
||||
"description": "The OpenAI API key to use for code generation."
|
||||
},
|
||||
"continue.HUGGING_FACE_TOKEN": {
|
||||
"type": "password",
|
||||
"default": "",
|
||||
"description": "The Hugging Face API token to use for code generation."
|
||||
},
|
||||
"continue.dataSwitch": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue