Duo Code Suggestions: Code Generation is invoked when user enters single space or single tab in empty file
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=505053) </details> <!--IssueSummary end--> ### Summary Code Generation is invoked when the user enters a single space or single tab within an empty file. This is confusing because Duo won't have sufficient context or guidance to provide any meaningful suggestion. ### Steps to reproduce In VS Code: 1. Enter a single space or single tab 2. Create new file 3. Observe code generation suggestion I was unable to reproduce this in the web IDE. I haven't tested additional IDE's outside of VS Code. ### What is the current _bug_ behavior? Duo provides a code generation suggestion without sufficient context to provide anything helpful or useful. I believe it's invoking code generation based on the `The file you’re editing has fewer than five lines of code.` logic \[https://docs.gitlab.com/ee/user/project/repository/code_suggestions/#code-generation\\\]. ### What is the expected _correct_ behavior? In an empty file, there shouldn't be a suggested generation or completion when the user enters a single space or single tab. ### Relevant logs and/or screenshots **Repro 1** ![Repro1.mov](/uploads/45d2c9cb2ab0ceb5c31a2e222f122091/Repro1.mov) **Repro 2** https://gitlab.com/gitlab-org/gitlab/-/issues/503351#note_2216391564 ![comple-2024-11-18_18.56.03.mp4](/uploads/f7ede617afac1e15bbeef678349da11f/comple-2024-11-18_18.56.03.mp4) ### <!--If you don't have /label privileges, follow up with an issue comment of `@gitlab-bot label ~"type::bug"`-->
issue