Add parameter to API to enforce code completion or generation
Add the moment we are having special detection to determine if the user is trying currently code generation or code completion. We might add more functionality in the IDE's to determine specific cases pre-sending it to the monolith API and then enforce already the intent. For this lets add to the API for code suggestions request an attribute to enforce either code generation or code completion or let the monolith decide (default behaviour). As this gives us more flexibility in next development steps.
One good example is if we would introduce a special key combination to do code generation, to pre-check if the comment the cursor is at is new etc.
Edited by Tim Zallmann