continue icon indicating copy to clipboard operation
continue copied to clipboard

`/config` command is not available in VSCode Extension

Open FabianHertwig opened this issue 1 year ago • 4 comments

Before submitting your bug report

Relevant environment info

- OS:macOS 14.1.2
- Continue: v0.7.29 (VS Code extension)
- IDE: VSCode 1.85.0

Description

The docs mention, that you can open the config.json with the /config command. When I put /config in the chat input, then it is treated as normal input to the model. The command is also not shown in the command dropdown.

To reproduce

Type /config in the chat input.

image

Log output

[2023-12-09 08:42:35] [WARNING] Failed to load config from /Users/fabianhertwig/.continue/config.py: module 'config' has no attribute 'config'
[2023-12-09 08:42:35] [DEBUG] ------ Begin Logs ------
[2023-12-09 08:42:36] [DEBUG] Downloading MeiliSearch with curl...
[2023-12-09 08:42:46] [DEBUG] ------ End logs ------

FabianHertwig avatar Dec 10 '23 08:12 FabianHertwig

@FabianHertwig This is a mistake in the docs since we removed the /config slash command and I'll be sure to fix it. You can now access config.json either by clicking the gear in the bottom right corner, and then the "config.json" button in the upper right, or by opening the file at ~/.continue/config.json,

sestinj avatar Dec 10 '23 08:12 sestinj

Ok, thanks. Are the docs up to date for the context providers? These commands (e.g. @tree, @issue) do also not work for me after setting up the config accordingly.

FabianHertwig avatar Dec 10 '23 08:12 FabianHertwig

@FabianHertwig I'm not certain of their state as of the old Python server versions, but these are two of the remaining pieces that I still need to implement in the new VS Code pre-release versions (0.7.x). I'll let you know once I get them done.

sestinj avatar Dec 16 '23 00:12 sestinj

@FabianHertwig the issue context provider is now completed: https://continue.dev/docs/customization/context-providers#github-issues

sestinj avatar Jan 26 '24 18:01 sestinj

Just going through older issues and noticed that this one looks mostly resolved. Going to close, but let me know if there's something still going on!

sestinj avatar May 23 '24 01:05 sestinj