Code Suggestions slash commands (such as /tests) should work in a personal project for a user with Duo add-on
### Summary For a user with a Duo add-on (Premium or Ultimate), the user should be able to use Duo functionality in a personal project. The current behavior is: * Can successfully use Duo Chat * Can successfully use Duo Code Suggestions - including both code completion and code generation * Cannot use Code Suggestions related slash commands such as /tests, /explain, /refactor, /fix The user should be able to successfully use slash commands such as /tests, /explain, /refactor, /fix. ### Steps to reproduce * For a user with Duo Pro or Duo Enterprise: * Navigate to a personal project * Open a code file in the web IDE or an IDE with GitLab Duo Chat extension * Select some code and invoke a slash command such as `/tests` ### What is the current _bug_ behavior? In the web IDE, we return an M3003 error in the Duo chat interface: ![Screenshot 2024-10-24 at 2.32.22 PM.png](/uploads/3f71c51a1a0e02fb9adb2da84e655ae9/Screenshot_2024-10-24_at_2.32.22_PM.png){width="202" height="169"} ``` I'm sorry, I can't generate a response. You might want to try again. You could also be getting this error because the items you're asking about either don't exist, you don't have access to them, or your session has expired. Error code: M3003 ``` In VS Code, I seem to get an infinite loop of Duo trying to find an answer. This seems like a silent failure: ![Screenshot 2024-10-24 at 2.36.21 PM.png](/uploads/8c6a539c948d0ae9b1e2029ac91d572d/Screenshot_2024-10-24_at_2.36.21_PM.png){width="458" height="117"} ### What is the expected _correct_ behavior? For a project where GitLab Duo is enabled, the slash command should be successfully executed. ### Output of checks This bug happens on GitLab.com
issue