summaryrefslogtreecommitdiff
path: root/roles-example.ini
diff options
context:
space:
mode:
authorMartin Bielik <martin.bielik@instea.sk>2024-12-16 20:14:56 +0100
committerMartin Bielik <martin.bielik@instea.sk>2024-12-16 20:14:56 +0100
commit082eb061b9233719a4c763905008a17d636b468f (patch)
tree508c5826a551b1466b5285fd8cc1870dde21cf3c /roles-example.ini
parentcb2ac5f7a672faeb7b81886b6c1f1481ef51f90d (diff)
downloadvim-ai-082eb061b9233719a4c763905008a17d636b468f.tar.gz
edit command role
Diffstat (limited to 'roles-example.ini')
-rw-r--r--roles-example.ini17
1 files changed, 10 insertions, 7 deletions
diff --git a/roles-example.ini b/roles-example.ini
index 03e970b..9b13cd4 100644
--- a/roles-example.ini
+++ b/roles-example.ini
@@ -1,5 +1,8 @@
-# .ini file structure:
-# - https://docs.python.org/3/library/configparser.html#supported-ini-file-structure
+# By default vim-ai reads this configuration file but it is highly recommended to
+# set up a custom role location in order to prevent loss of roles while re-installing plugin!
+#
+# - custom config file location: `let g:vim_ai_roles_config_file = '/path/to/my/roles.ini'`
+# - .ini file structure: https://docs.python.org/3/library/configparser.html#supported-ini-file-structure
[grammar]
prompt = fix spelling and grammar
@@ -10,16 +13,16 @@ prompt =
please refactor it in a more clean and concise way so that my colleagues
can maintain the code more easily. Also, explain why you want to refactor
the code so that I can add the explanation to the Pull Request.
-
-# common options for all engines
+# common options for all commands (complete, edit, chat)
[refactor.options]
temperature = 0.4
-
-# engine specific options:
+# command specific options:
[refactor.options-chat]
model = gpt-4o
-
[refactor.options-complete]
+model = gpt-4
+[refactor.options-edit]
+model = gpt-4
[o1-mini]
[o1-mini.options]