summaryrefslogtreecommitdiff
path: root/roles-example.ini
diff options
context:
space:
mode:
authorMartin Bielik <martin.bielik@instea.sk>2024-12-16 23:13:35 +0100
committerMartin Bielik <martin.bielik@instea.sk>2024-12-16 23:13:35 +0100
commit2a418adca13bc7f8d4b35a4a1ec83fe0e5aedd91 (patch)
treeb52d43e7e758e101b972b8de639b3379f669e0a2 /roles-example.ini
parentb81a3c7cb4fb15295262e4e6a2896e5bc88c51de (diff)
downloadvim-ai-2a418adca13bc7f8d4b35a4a1ec83fe0e5aedd91.tar.gz
new role syntax
Diffstat (limited to '')
-rw-r--r--roles-example.ini28
1 files changed, 13 insertions, 15 deletions
diff --git a/roles-example.ini b/roles-example.ini
index 9b13cd4..6134aca 100644
--- a/roles-example.ini
+++ b/roles-example.ini
@@ -7,27 +7,25 @@
[grammar]
prompt = fix spelling and grammar
+# common options for all commands (complete, edit, chat)
[refactor]
prompt =
You are a Clean Code expert, I have the following code,
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 commands (complete, edit, chat)
-[refactor.options]
-temperature = 0.4
+config.options.temperature = 0.4
# command specific options:
-[refactor.options-chat]
-model = gpt-4o
-[refactor.options-complete]
-model = gpt-4
-[refactor.options-edit]
-model = gpt-4
+[refactor.chat]
+config.options.model = gpt-4o
+[refactor.complete]
+config.options.model = gpt-4
+[refactor.edit]
+config.options.model = gpt-4
[o1-mini]
-[o1-mini.options]
-stream = 0
-model = o1-mini
-max_completion_tokens = 25000
-temperature = 1
-initial_prompt =
+config.options.stream = 0
+config.options.model = o1-mini
+config.options.max_completion_tokens = 25000
+config.options.temperature = 1
+config.options.initial_prompt =