Elffuss BraidHub

kikocis/continue public

update doc
Changeset6c4de4429aceac8fa82b52e4e8ae418ea253b90e78fa3351384f56f5ac568b3f
AuthorNGC13009 <ngc1300@126.com> · 2025-07-13 01:02 +08:00
CommitterNGC13009 <ngc1300@126.com> · 2025-07-13 01:02 +08:00
Parents92186d63353b

Browse the files at this changeset

1 file changed

modified docs/customize/deep-dives/autocomplete.mdx +28 −4
@@ -84,6 +84,30 @@
8484
8585 Once the model has been downloaded, you should begin to see completions in VS Code.
8686
87+NOTE: Typically, thinking-type models are not recommended as they generate more slowly and are not suitable for scenarios that require speed.
88+
89+However, if you use any thinking-switchable models, you can configure these models for autocomplete functions by turning off the thinking mode.
90+
91+For example:
92+
93+<Tabs>
94+ <Tab title="YAML">
95+ ```yaml title="config.yaml"
96+ models:
97+ - name: Qwen3 without Thinking for Autocomplete
98+ provider: ollama
99+ model: qwen3:4b # qwen3 is a thinking-switchable model
100+ roles:
101+ - autocomplete
102+ requestOptions:
103+ extraBodyProperties:
104+ think: false # turning off the thinking
105+ ```
106+ </Tab>
107+</Tabs>
108+
109+Then, in the continue panel, select this model as the default model for autocomplete.
110+
87111 ## Configuration Options
88112
89113 ### Hub Autocomplete models
@@ -138,12 +162,12 @@
138162
139163 This is a built-in feature of VS Code, but it's just a bit hidden. Follow these settings to reassign the keyboard shortcuts in VS Code:
140164
141-1. Press `Ctrl+Shift+P`, type the command: `Preferences: Open Keyboard Shortcuts`, and enter the keyboard shortcuts settings page.
165+1. Press <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd>, type the command: `Preferences: Open Keyboard Shortcuts`, and enter the keyboard shortcuts settings page.
142166 2. Search for `editor.action.inlineSuggest.acceptNextLine`.
143-3. Set the key binding to `Tab`.
167+3. Set the key binding to <kbd>Tab</kbd>.
144168 4. Set the trigger condition (when) to `inlineSuggestionVisible && !editorReadonly`.
145- This will make multi-line completion (including continue and from VS Code built-in or other plugin snippets) still work, and you will see multi-line completion. However, Tab will only fill in one line at a time. Any unnecessary code can be canceled with `Esc`.
146- If you need to apply all the code, just press `Tab` multiple times.
169+ This will make multi-line completion (including continue and from VS Code built-in or other plugin snippets) still work, and you will see multi-line completion. However, Tab will only fill in one line at a time. Any unnecessary code can be canceled with <kbd>Esc</kbd>.
170+ If you need to apply all the code, just press <kbd>Tab</kbd> multiple times.
147171
148172 ### How to turn off autocomplete
149173