continue
continue copied to clipboard
Slash commands not working in follow-up messages
Before submitting your bug report
- [X] I believe this is a bug. I'll try to join the Continue Discord for questions
- [X] I'm not able to find an open issue that reports the same bug
- [X] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: macOS 14.6.1
- Continue: 0.0.56
- IDE: IntelliJ
- Model: Sonnet 3.5
- config.json:
{
"models": [
{
"model": "gpt-4o",
"title": "GPT-4o",
"apiKey":
"completionOptions": {},
"provider": "openai"
},
{
"model": "gpt-4o-mini",
"title": "GPT-4o-mini",
"apiKey":
"completionOptions": {},
"provider": "openai"
},
{
"title": "Codestral",
"provider": "mistral",
"model": "codestral-latest",
"apiKey":
},
{
"title": "claude-3.5-sonnet",
"provider": "anthropic",
"model": "claude-3-5-sonnet-20240620",
"apiKey":
},
{
"title": "Gemini Pro",
"provider": "gemini",
"model": "gemini-1.5-pro-latest",
"apiKey":
},
{
"title": "Gemini Pro Exp 0801",
"provider": "gemini",
"model": "gemini-1.5-pro-exp-0801",
"apiKey":
},
{
"title": "Gemini Flash",
"provider": "gemini",
"model": "gemini-1.5-flash-latest",
"apiKey":
}
],
"slashCommands": [
{
"name": "edit",
"description": "Edit selected code"
},
{
"name": "comment",
"description": "Write comments for the selected code"
},
{
"name": "share",
"description": "Export this session as markdown"
},
{
"name": "cmd",
"description": "Generate a shell command"
},
{
"name": "onboard",
"description": "Familiarize yourself with the codebase"
}
],
"customCommands": [
{
"name": "test",
"prompt": "Write a comprehensive set of unit tests, using a PyTest class. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete. Give the tests just as chat output, don't edit any file. Prefer literal values instead of computed ones. Do this for {{{ input }}}",
"description": "Write unit tests for "
},
{
"name": "check",
"description": "Check for mistakes in my code",
"prompt": "{{{ input }}}\n\nPlease read the highlighted code and check for any mistakes. You should look for the following, and be extremely vigilant:\n- Syntax errors\n- Logic errors\n- Security vulnerabilities\n- Performance issues\n- Anything else that looks wrong\n\nOnce you find an error, please explain it as clearly as possible, but without using extra words. For example, instead of saying 'I think there is a syntax error on line 5', you should say 'Syntax error on line 5'. Give your answer as one bullet point per mistake found."
}
],
"contextProviders": [
{
"name": "open",
"params": {}
},
{
"name": "code",
"params": {}
},
{
"name": "docs",
"params": {}
},
{
"name": "url"
},
{
"name": "codebase",
"params": {
"nRetrieve": 70,
"nFinal": 30,
"useReranking": true
}
},
{
"name": "tree"
}
],
"embeddingsProvider": {
"provider": "openai",
"model": "voyage-code-2",
"apiBase": "https://api.voyageai.com/v1/",
"apiKey":
},
"reranker": {
"name": "free-trial"
},
"tabAutocompleteModel": {
"title": "Codestral",
"provider": "mistral",
"model": "codestral-latest",
"apiKey":
},
"tabAutocompleteOptions": {
"maxPromptTokens": 32000,
"debounceDelay": 2000,
"maxSuffixPercentage": 0.3
},
"allowAnonymousTelemetry": false
}
Description
Slash commands are not working, both default and customs.
To reproduce
- Open continue sidebar.
- type a message and press enter.
- go to the follow-up message box.
- Type '/'. Nothing happens. Command is NOT substituted (checked in the logs)
Log output
No errors in the log.