Elffuss BraidHub

kikocis/continue public

b2cd4c5fbf76 · 9.0 KiBRawPermalink
1---
2title: Troubleshooting
3description: Troubleshooting while waiting for help during beta / alpha testing
4keywords: [reload, delete, manually, logs, server, console]
5---
6
7import TabItem from "@theme/TabItem";
8import Tabs from "@theme/Tabs";
9
101. [Check the logs](#check-the-logs)
112. [Try the latest pre-release](#download-the-latest-pre-release)
123. [Download an older version](#download-an-older-version)
134. [Resolve keyboard shortcut issues](#keyboard-shortcuts-not-resolving)
145. [Check FAQs for common issues](#faqs)
15
16## Check the logs
17
18To solve many problems, the first step is reading the logs to find the relevant error message. To do this, follow these steps:
19
20### VS Code
21
22#### Console logs
23
24:::info
25In order to view debug logs, which contain extra information, click the dropdown at the top that says "Default levels" and select "Verbose".
26:::
27
281. <kbd>cmd</kbd> + <kbd>shift</kbd> + <kbd>P</kbd> for MacOS or <kbd>ctrl</kbd> + <kbd>
29 shift
30 </kbd> + <kbd>P</kbd> for Windows
312. Search for and then select "Developer: Toggle Developer Tools"
323. This will open the [Chrome DevTools window](https://developer.chrome.com/docs/devtools/)
334. Select the `Console` tab
345. Read the console logs
35
36#### Prompt Logs (Continue Console)
37
38To view prompt logs/analytics, you can enable the Continue Console.
39
401. Open VS Code settings (<kbd>cmd/ctrl</kbd> + <kbd>,</kbd>)
412. Search for the setting "Continue: Enable Console" and enable it
423. Reload the window
434. Open the Continue Console by using the command palette (<kbd>cmd/ctrl</kbd> + <kbd>shift</kbd> + <kbd>P</kbd>) and searching for "Continue: Focus on Continue Console View"
44
45![Continue Console](../static/img/continue-console.png)
46
47### JetBrains
48
49Open `~/.continue/logs/core.log` to view the logs for the Continue plugin. The most recent logs are found at the bottom of the file.
50
51Some JetBrains-related logs may also be found by clicking "Help" > "Show Log in Explorer/Finder".
52
53## Download the latest pre-release
54
55### VS Code
56
57We are constantly making fixes and improvements to Continue, but the latest changes remain in a "pre-release" version for roughly a week so that we can test their stability. If you are experiencing issues, you can try the pre-release by going to the Continue extension page in VS Code and selecting "Switch to Pre-Release" as shown below.
58
59![Pre-Release](../static/img/prerelease.png)
60
61### JetBrains
62
63On JetBrains, the "pre-release" happens through their Early Access Program (EAP) channel. To download the latest EAP version, enable the EAP channel:
64
651. Open JetBrains settings (<kbd>cmd/ctrl</kbd> + <kbd>,</kbd>) and go to "Plugins"
662. Click the gear icon at the top
673. Select "Manage Plugin Repositories..."
684. Add "[https://plugins.jetbrains.com/plugins/eap/list](https://plugins.jetbrains.com/plugins/eap/list)" to the list
695. You'll now always be able to download the latest EAP version from the marketplace
70
71## Download an Older Version
72
73If you've tried everything, reported an error, know that a previous version was working for you, and are waiting to hear back, you can try downloading an older version of the extension.
74
75For VS Code, All versions are hosted on the Open VSX Registry [here](https://open-vsx.org/extension/Continue/continue). Once you've downloaded the extension, which will be a .vsix file, you can install it manually by following the instructions [here](https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix).
76
77You can find older versions of the JetBrains extension on their [marketplace](https://plugins.jetbrains.com/plugin/22707-continue), which will walk you through installing from disk.
78
79## Keyboard shortcuts not resolving
80
81If your keyboard shortcuts are not resolving, you may have other commands that are taking precedence over the Continue shortcuts. You can see if this is the case, and change your shortcut mappings, in the configuration of your IDE.
82
83- [VSCode keyboard shortcuts docs](https://code.visualstudio.com/docs/getstarted/keybindings)
84- [IntelliJ keyboard shortcut docs](https://www.jetbrains.com/help/idea/configuring-keyboard-and-mouse-shortcuts.html)
85
86## FAQs
87
88### Networking Issues
89
90#### Configure Certificates
91
92If you're seeing a `fetch failed` error and your network requires custom certificates, you will need to configure them in your config file. In each of the objects in the `"models"` array, add `requestOptions.caBundlePath` like this:
93
94<Tabs groupId="config-example">
95 <TabItem value="yaml" label="YAML">
96 ```yaml title="config.yaml"
97 models:
98 - name: My Model
99 ...
100 requestOptions:
101 caBundlePath: /path/to/cert.pem
102 ```
103 </TabItem>
104 <TabItem value="json" label="JSON">
105 ```json title="config.json"
106 {
107 "models": [
108 {
109 "title": "My Model",
110 ...
111 "requestOptions": {
112 "caBundlePath": "/path/to/cert.pem"
113 }
114 }
115 ],
116 }
117 ```
118 </TabItem>
119</Tabs>
120
121You may also set `requestOptions.caBundlePath` to an array of paths to multiple certificates.
122
123**_Windows VS Code Users_**: Installing the [win-ca](https://marketplace.visualstudio.com/items?itemName=ukoloff.win-ca) extension should also correct this issue.
124
125#### VS Code Proxy Settings
126
127If you are using VS Code and require requests to be made through a proxy, you are likely already set up through VS Code's [Proxy Server Support](https://code.visualstudio.com/docs/setup/network#_proxy-server-support). To double-check that this is enabled, use <kbd>cmd/ctrl</kbd> + <kbd>,</kbd> to open settings and search for "Proxy Support". Unless it is set to "off", then VS Code is responsible for making the request to the proxy.
128
129#### code-server
130
131Continue can be used in [code-server](https://coder.com/), but if you are running across an error in the logs that includes "This is likely because the editor is not running in a secure context", please see [their documentation on securely exposing code-server](https://coder.com/docs/code-server/latest/guide#expose-code-server).
132
133### I installed Continue, but don't see the sidebar window
134
135By default the Continue window is on the left side of VS Code, but it can be dragged to right side as well, which we recommend in our tutorial. In the situation where you have previously installed Continue and moved it to the right side, it may still be there. You can reveal Continue either by using cmd/ctrl+L or by clicking the button in the top right of VS Code to open the right sidebar.
136
137### I'm getting a 404 error from OpenAI
138
139If you have entered a valid API key and model, but are still getting a 404 error from OpenAI, this may be because you need to add credits to your billing account. You can do so from the [billing console](https://platform.openai.com/settings/organization/billing/overview). If you just want to check that this is in fact the cause of the error, you can try adding $1 to your account and checking whether the error persists.
140
141### I'm getting a 404 error from OpenRouter
142
143If you have entered a valid API key and model, but are still getting a 404 error from OpenRouter, this may be because models that do not support function calling will return an error to Continue when a request is sent.
144Example error:
145`HTTP 404 Not Found from https://openrouter.ai/api/v1/chat/completions`
146
147### Indexing issues
148
149If you are having persistent errors with indexing, our recommendation is to rebuild your index from scratch. Note that for large codebases this may take some time.
150
151This can be accomplished using the following command: `Continue: Rebuild codebase index`.
152
153### Android Studio - "Nothing to show" in Chat
154
155This can be fixed by selecting `Actions > Choose Boot runtime for the IDE` then selecting the latest version, and then restarting Android Studio. [See this thread](https://github.com/continuedev/continue/issues/596#issuecomment-1789327178) for details.
156
157### I received a "Codebase indexing disabled - Your Linux system lacks required CPU features (AVX2, FMA)" notification
158
159We use LanceDB as our vector database for codebase search features. On x64 Linux systems, LanceDB requires specific CPU features (FMA and AVX2) which may not be available on older processors.
160
161Most Continue features will work normally, including autocomplete and chat. However, commands that rely on codebase indexing, such as `@codebase`, `@files`, and `@folder`, will be disabled.
162
163For more details about this requirement, see the [LanceDB issue #2195](https://github.com/lancedb/lance/issues/2195).
164
165### How do I reset the state of the extension?
166
167Continue stores it's data in the `~/.continue` directory (%USERPROFILE%\.continue` on Windows).
168
169If you'd like to perform a clean reset of the extension, including removing all configuration files, indices, etc, you can remove this directory, uninstall, and then reinstall.
170
171## Still having trouble?
172
173You can also join our Discord community [here](https://discord.gg/vapESyrFmJ) for additional support and discussions. Alternatively, you can create a GitHub issue [here](https://github.com/continuedev/continue/issues/new?assignees=&labels=bug&projects=&template=bug-report-%F0%9F%90%9B.md&title=), providing details of your problem, and we'll be able to help you out more quickly.