Completion mechanism selection for completion-ui