Elffuss BraidHub

kikocis/continue public

e31fcddb0dec · 13.9 KiBRawPermalink
1---
2title: "FAQs"
3description: "Frequently asked questions about Continue"
4---
5
6## Networking Issues
7
8### Configure Certificates
9
10If 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:
11
12<Tabs>
13 <Tab title="YAML">
14 ```yaml
15 models:
16 - name: My Model
17 ...
18 requestOptions:
19 caBundlePath: /path/to/cert.pem
20 ```
21 </Tab>
22 <Tab title="JSON">
23 ```json
24 {
25 "models": [
26 {
27 "name": "My Model",
28 "...": "...",
29 "requestOptions": {
30 "caBundlePath": "/path/to/cert.pem"
31 }
32 }
33 ]
34 }
35 ```
36 </Tab>
37</Tabs>
38
39You may also set `requestOptions.caBundlePath` to an array of paths to multiple certificates.
40
41**_Windows VS Code Users_**: Installing the [win-ca](https://marketplace.visualstudio.com/items?itemName=ukoloff.win-ca) extension should also correct this issue.
42
43### VS Code Proxy Settings
44
45If 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 `cmd/ctrl` + `,` 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.
46
47### code-server
48
49Continue 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).
50
51## Changes to agents not showing in VS Code
52
53If you've made changes to agents (adding, modifying, or removing them) but the changes aren't appearing in the Continue extension in VS Code, try reloading the VS Code window:
54
551. Open the command palette (`cmd/ctrl` + `shift` + `P`)
562. Type "Reload Window"
573. Select the reload option
58
59This will restart VS Code and reload all extensions, which should make your agent changes visible.
60
61## I installed Continue, but don't see the sidebar window
62
63By 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.
64
65## I'm getting a 404 error from OpenAI
66
67If 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.
68
69## I'm getting a 404 error from OpenRouter
70
71If 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. Example error: `HTTP 404 Not Found from https://openrouter.ai/api/v1/chat/completions`
72
73## Indexing issues
74
75If 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.
76
77This can be accomplished using the following command: `Continue: Rebuild codebase index`.
78
79## Agent mode is unavailable or tools aren't working
80
81If Agent mode is grayed out or tools aren't functioning properly, this is likely due to model capability configuration issues.
82
83<Info>
84 Continue uses system message tools as a fallback for models without native tool support, so most models should work with Agent mode automatically.
85</Info>
86
87### Check if your model has tool support
88
891. Not all models support native tool/function calling, but Continue will automatically use system message tools as a fallback
902. Try adding `capabilities: ["tool_use"]` to your model config to force tool support
913. Verify your provider supports function calling or that system message tools are working correctly
92
93### Tools Not Working
94
95If tools aren't being called:
96
971. Ensure `tool_use` is in your capabilities
982. Check that your API endpoint actually supports function calling
993. Some providers may use different function calling formats
100
101### Images Not Uploading
102
103If you can't upload images:
104
1051. Add `image_input` to capabilities
1062. Ensure your model actually supports vision (e.g., gpt-4-vision, claude-3)
1073. Check that your provider passes through image data
108
109### Add capabilities
110
111If Continue's autodetection isn't working correctly, you can manually add capabilities in your `config.yaml`:
112
113```yaml
114models:
115 - name: my-model
116 provider: openai
117 model: gpt-4
118 capabilities:
119 - tool_use
120 - image_input
121```
122
123### Verify with provider
124
125Some proxy services (like OpenRouter) or custom deployments may not preserve tool calling capabilities. Check your provider's documentation.
126
127### Verifying Current Capabilities
128
129To see what capabilities Continue detected for your model:
130
1311. Check the mode selector tooltips - they indicate if tools are available
1322. Try uploading an image - if disabled, the model lacks `image_input`
1333. Check if Agent mode is available - requires `tool_use`
134
135See the [Model Capabilities guide](/customize/deep-dives/model-capabilities) for complete configuration details.
136
137## Android Studio - "Nothing to show" in Chat
138
139This 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.
140
141## I received a "Codebase indexing disabled - Your Linux system lacks required CPU features (AVX2, FMA)" notification
142
143We 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.
144
145Most 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.
146
147For more details about this requirement, see the [LanceDB issue #2195](https://github.com/lancedb/lance/issues/2195).
148
149## Ollama Issues
150
151For a comprehensive guide on setting up and troubleshooting Ollama, see the [Ollama Guide](/guides/ollama-guide).
152
153### Unable to connect to local Ollama instance
154
155If you're getting "Unable to connect to local Ollama instance" errors:
156
1571. **Verify Ollama is running**: Check http://localhost:11434 in your browser - you should see "Ollama is running"
1582. **Start Ollama properly**: Use `ollama serve` (not just `ollama run model-name`)
1593. **Check your config**: Ensure your `config.yaml` has the correct setup:
160
161```yaml
162models:
163 - name: llama3
164 provider: ollama
165 model: llama3:latest
166```
167
168### Connection failed to remote Ollama (EHOSTUNREACH/ECONNREFUSED)
169
170When connecting to Ollama on another machine:
171
1721. **Configure Ollama to listen on all interfaces**:
173 - Set environment variable: `OLLAMA_HOST=0.0.0.0:11434`
174 - For systemd: Edit `/etc/systemd/system/ollama.service` and add under `[Service]`:
175 ```
176 Environment="OLLAMA_HOST=0.0.0.0:11434"
177 Environment="OLLAMA_ORIGINS=*"
178 ```
179 - Restart Ollama: `sudo systemctl restart ollama`
180
1812. **Update your Continue config**:
182```yaml
183models:
184 - name: llama3
185 provider: ollama
186 apiBase: http://192.168.1.136:11434 # Use your server's IP
187 model: llama3:latest
188```
189
1903. **Check firewall settings**: Ensure port 11434 is open on the server
191
192### Ollama not working in WSL
193
194For WSL users having connection issues:
195
196#### Windows 11 22H2+ (Recommended)
197Create or edit `%UserProfile%\.wslconfig`:
198```ini
199[wsl2]
200networkingMode=mirrored
201```
202Then restart WSL: `wsl --shutdown`
203
204#### Older Windows/WSL versions
205In PowerShell (as Administrator):
206```powershell
207# Add firewall rules
208New-NetFireWallRule -DisplayName 'WSL Ollama' -Direction Inbound -LocalPort 11434 -Action Allow -Protocol TCP
209New-NetFireWallRule -DisplayName 'WSL Ollama' -Direction Outbound -LocalPort 11434 -Action Allow -Protocol TCP
210
211# Get WSL IP (run 'ip addr' in WSL to find eth0 IP)
212# Then add port proxy (replace <WSL_IP> with your actual IP)
213netsh interface portproxy add v4tov4 listenport=11434 listenaddress=0.0.0.0 connectport=11434 connectaddress=<WSL_IP>
214```
215
216### Docker container can't connect to host Ollama
217
218When running Continue or other tools in Docker that need to connect to Ollama on the host:
219
220**Windows/Mac**: Use `host.docker.internal`:
221```yaml
222models:
223 - name: llama3
224 provider: ollama
225 apiBase: http://host.docker.internal:11434
226 model: llama3:latest
227```
228
229**Linux**: Use the Docker bridge IP (usually `172.17.0.1`):
230```yaml
231models:
232 - name: llama3
233 provider: ollama
234 apiBase: http://172.17.0.1:11434
235 model: llama3:latest
236```
237
238**Docker run command**: Add host mapping:
239```bash
240docker run -d --add-host=host.docker.internal:host-gateway ...
241```
242
243### Parse errors with remote Ollama
244
245If you're getting parse errors with remote Ollama:
246
2471. **Verify the model is installed on the remote**:
248 ```bash
249 OLLAMA_HOST=192.168.1.136:11434 ollama list
250 ```
251
2522. **Install missing models**:
253 ```bash
254 OLLAMA_HOST=192.168.1.136:11434 ollama pull llama3
255 ```
256
2573. **Check URL format**: Ensure you're using `http://` not `https://` for local network addresses
258
259## Local Agent
260
261### Managing Local Secrets and Environment Variables
262
263For running Continue completely offline without internet access, see the [Running Continue Without Internet guide](/guides/running-continue-without-internet).
264
265Continue supports multiple methods for managing secrets locally, searched in this order:
266
2671. **Workspace `.env` files**: Place a `.env` file in your workspace root directory
2682. **Workspace Continue folder**: Place a `.env` file in `<workspace-root>/.continue/.env`
2693. **Global `.env` file**: Place a `.env` file in `~/.continue/.env` for user-wide secrets
2704. **Process environment variables**: Use standard system environment variables
271
272#### Creating `.env` files
273
274Create a `.env` file in one of these locations:
275- **Per-workspace**: `<workspace-root>/.env` or `<workspace-root>/.continue/.env`
276- **Global**: `~/.continue/.env`
277
278Example `.env` file:
279```
280OPENAI_API_KEY=sk-...
281ANTHROPIC_API_KEY=sk-ant-...
282CUSTOM_API_URL=https://api.example.com
283```
284
285#### Using secrets in config.yaml
286
287Reference your local secrets using the `secrets` namespace:
288```yaml
289models:
290 - provider: openai
291 apiKey: ${{ secrets.OPENAI_API_KEY }}
292```
293
294#### Hub-managed secrets
295
296For centralized team secret management, use `${{ inputs.SECRET_NAME }}` syntax in your config.yaml and manage them at [https://hub.continue.dev/settings/secrets](https://hub.continue.dev/settings/secrets):
297```yaml
298models:
299 - provider: openai
300 apiKey: ${{ inputs.OPENAI_API_KEY }}
301```
302
303#### Important notes
304
305- **Never commit `.env` files** to version control - add them to `.gitignore`
306- The `.env` file uses standard dotenv format (KEY=value, no quotes needed)
307- Secrets are loaded when Continue starts, so restart your IDE after changes
308- Local `.env` files take precedence over Hub secrets when both exist
309
310#### Troubleshooting secrets
311
312If your API keys aren't being recognized:
3131. Check the `.env` file is in the correct location
3142. Ensure there are no quotes around values in the `.env` file
3153. Restart your IDE after adding/changing secrets
3164. Verify the variable name matches exactly (case-sensitive)
3175. Check that your `.env` file has proper line endings (LF, not CRLF on Windows)
318
319### Using Model Addons Locally
320
321You can leverage model addons from the Continue Hub in your local agent configurations using the `uses:` syntax. This allows you to reference pre-configured model blocks without duplicating configuration.
322
323#### Requirements
324
325- You must be logged in to Continue
326- Internet connection is required (model addons are fetched from the hub)
327
328#### Usage
329
330In your local `config.yaml`, reference model addons using the format `provider/model-name`:
331
332```yaml
333name: My Local Agent
334version: 0.0.1
335schema: v1
336models:
337 - uses: ollama/llama3.1-8b
338 - uses: anthropic/claude-3.5-sonnet
339 - uses: openai/gpt-4
340```
341
342#### With local configuration
343
344You can combine hub model addons with local models:
345
346```yaml
347name: My Local Agent
348version: 0.0.1
349schema: v1
350models:
351 # Hub model addon
352 - uses: anthropic/claude-3.5-sonnet
353
354 # Local model configuration
355 - name: Local Ollama
356 provider: ollama
357 model: codellama:latest
358 apiBase: http://localhost:11434
359```
360
361#### Override addon settings
362
363You can override specific settings from the model addon:
364
365```yaml
366models:
367 - uses: ollama/llama3.1-8b
368 override:
369 apiBase: http://192.168.1.100:11434 # Use remote Ollama server
370 roles:
371 - chat
372 - autocomplete
373```
374
375This feature allows you to maintain consistent model configurations across teams while still allowing local customization when needed.
376
377## How do I reset the state of the extension?
378
379Continue stores its data in the `~/.continue` directory (`%USERPROFILE%\.continue` on Windows).
380
381If 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.
382
383## Still having trouble?
384
385You can also join our Discord community [here](https://discord.gg/vapESyrFmJ) for additional support and GitHub 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.