summaryrefslogtreecommitdiff
path: root/py/roles.py
diff options
context:
space:
mode:
authorMartin Bielik <martin.bielik@instea.sk>2024-12-17 23:13:01 +0100
committerMartin Bielik <martin.bielik@instea.sk>2024-12-17 23:13:01 +0100
commit506669af3fc44869c5ab819e2d3b43a51b3c88a8 (patch)
tree6a018f26167de1bfcf377d0e8ed3163bf6eebef0 /py/roles.py
parentdda1a41e00499ac9fd304bb87a1f521afa0fef1d (diff)
downloadvim-ai-506669af3fc44869c5ab819e2d3b43a51b3c88a8.tar.gz
special role
Diffstat (limited to 'py/roles.py')
-rw-r--r--py/roles.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/roles.py b/py/roles.py
index 94bcdb4..bb5356e 100644
--- a/py/roles.py
+++ b/py/roles.py
@@ -16,4 +16,6 @@ def load_ai_role_names(command_type):
if len(parts) == 1 or parts[-1] == command_type:
role_names.add(parts[0])
+ role_names = [name for name in role_names if name != DEFAULT_ROLE_NAME]
+
return list(role_names)