Skip to content

Commit 5e1773b

Browse files
committed
Add final details
1 parent 6fb2400 commit 5e1773b

File tree

10 files changed

+73
-302
lines changed

10 files changed

+73
-302
lines changed

docs/cody/troubleshooting.mdx

Lines changed: 6 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<p className="subtitle">Learn about common reasons for errors that you might run into when using Cody and how to troubleshoot them.</p>
44

5-
If you encounter errors or bugs while using Cody, try applying these troubleshooting methods to understand and configure the issue better. If the problem persists, you can report Cody bugs using the [issue tracker](https://github.com/sourcegraph/cody/issues), by using the [Support Forum](https://community.sourcegraph.com/), or by asking in the [Discord](https://discord.gg/s2qDtYGnAE) server.
5+
If you encounter errors or bugs while using Cody, try applying these troubleshooting methods to understand and configure the issue better. If the problem persists, you can report by using the [Support Forum](https://community.sourcegraph.com/), or by asking in the [Discord](https://discord.gg/s2qDtYGnAE) server.
66

77
## VS Code extension
88

@@ -82,13 +82,7 @@ To troubleshoot further:
8282

8383
### Rate limits
8484

85-
Cody Free provides **unlimited autocomplete suggestions** and **200 chat invocations** per user per month.
86-
87-
On Cody Pro and Enterprise plans, usage limits are increased, and controlled by **Fair Usage**. This means that some users occasionally experience a limitation placed on their account. This limitation resets within 24 hours. If this issue persists, contact us through our [community forum](https://community.sourcegraph.com), Discord, or email [email protected].
88-
89-
#### 429 errors
90-
91-
A 429 status code means you are on a free account and hit your usage limit/quota for the day. It can also mean you were sending too many requests in a short period of time. If you have Cody Pro and you are seeing 429 errors, you can contact us at [[email protected]](mailto:[email protected]) to resolve this.
85+
On Enterprise plans, usage limits are increased, and controlled by **Fair Usage**. This means that some users occasionally experience a limitation placed on their account. This limitation resets within 24 hours. If this issue persists, contact us through our [community forum](https://community.sourcegraph.com), Discord, or email [email protected].
9286

9387
### Error logging in VS Code on Linux and Windows
9488

@@ -110,7 +104,7 @@ On Windows,
110104

111105
If you encounter this error:
112106

113-
```
107+
```bash
114108
Request Failed: Request to https://sourcegraph.com/.api/completions/stream?api-version=1&client-name=vscode&client-version=1.34.3 failed with 403 Forbidden
115109
```
116110

@@ -122,7 +116,7 @@ Consider disabling anonymizers, VPNs, or open proxies. If using a VPN is essenti
122116

123117
The `contextFilters` setting in Cody is used to control which files are included or excluded when Cody searches for relevant context while answering questions or providing code assistance. Sometimes, you can see the following error:
124118

125-
```
119+
```bash
126120
Edit failed to run: file is ignored (due to cody.contextFilters Enterprise configuration setting)
127121
```
128122

@@ -132,13 +126,6 @@ If the error occurs with a file that's not been excluded, the workaround is to u
132126

133127
This should clear the error.
134128

135-
### VS Code Pro License Issues
136-
137-
If VS Code prompts you to upgrade to Pro despite already having a Pro license, this usually happens because you're logged into a free Cody/Sourcegraph account rather than your Pro account. To fix this:
138-
139-
- Check which account you're currently logged into
140-
- If needed, log out and sign in with your PRO account credentials
141-
142129
### Error exceeding `localStorage` quota
143130

144131
When using Cody chat, you may come across this error:
@@ -162,6 +149,7 @@ You can get performance traces from the Cody VS Code extension in production wit
162149
```
163150

164151
Note that you may need to quit VSCode first, then run that command to re-launch it. It will open all of your windows and tabs again.
152+
165153
- After VS Code is started, head over to Chrome and go to `chrome://inspect`, which takes you to the following:
166154

167155
![](https://gist.github.com/assets/458591/0a17881b-5449-48d5-a53e-5556f4f2dedd)
@@ -301,30 +289,6 @@ $filteredResults = preg_grep('*\.' . basename($inputPath) . '\.*', $fileList);
301289

302290
If you would like to add a forked repository as Cody context, you may need to add `"search.includeForks": true` to the [global settings](/admin/config/settings#editing-global-settings-for-site-admins) for your instance.
303291

304-
{/* ## Eclipse extension
305-
306-
### See a white screen the first time you open Cody chat
307-
308-
This can happen if Eclipse prompts you to set up a password for secure storage and Cody timeouts while waiting. Simply close and re-open the Cody chat.
309-
310-
### "No password provided" in the error log
311-
312-
If you see this error in the error log, it happens because the default OS password integration has been corrupted. Go to **Preferences > General > Security > Secure Storage** and ensure your OS integration is checked.
313-
314-
Then click **Clear Passwords** at the top, and then click **Change Password**. If you see a dialog saying **An error occurred while decrypting stored values... Do you want to cancel password change?** Click **No**.
315-
316-
This will reset the secure storage master password for OS integration. You will be asked if you want to provide additional information for password recovery, which is optional. Click **Apply and Close** and then restart Eclipse.
317-
318-
### General Tips
319-
320-
You can open the Cody Log view using the same steps as above, but instead, select **Cody Log**.
321-
322-
![cody-logs](https://storage.googleapis.com/sourcegraph-assets/Docs/eclipse-cody-log-1124.png)
323-
324-
This will include more information about what Cody is doing, including any errors. There is a copy button at the top right of the log view that you can use to copy the log to your clipboard and send it to us. Be careful not to include any sensitive information, as the log communication is verbose and may contain tokens.
325-
326-
Additionally, Eclipse's built-in Error Log can be used to view any uncaught exceptions and their stack traces. You can open the Error Log using the **Window > Show View > Error Log** menu. */}
327-
328292
## OpenAI o1
329293

330294
### Context Deadline Exceeded Error
@@ -358,7 +322,7 @@ Symptoms:
358322
Solutions:
359323

360324
- Break down complex requests into smaller steps
361-
- Consider using Sonnet 3.5 for tasks requiring longer outputs
325+
- Consider using Sonnet 4 for tasks requiring longer outputs
362326

363327
Limits:
364328

@@ -377,7 +341,6 @@ Solutions:
377341

378342
- Restart IDE/VS Code
379343
- Sign out and sign back in
380-
- Check Pro subscription status
381344
- Contact support if issues persist
382345

383346
### Response Format Errors

docs/cody/usage-and-pricing.mdx

Lines changed: 0 additions & 156 deletions
This file was deleted.

0 commit comments

Comments
 (0)