-
Notifications
You must be signed in to change notification settings - Fork 71
/
roles-example.ini
31 lines (27 loc) · 984 Bytes
/
roles-example.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This is an example, do not modify/use this file!!!
# Instead, configure location of your own role file:
# - 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
# 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.
options.temperature = 0.4
# command specific options:
[refactor.chat]
options.model = gpt-4o
[refactor.complete]
options.model = gpt-4
[refactor.edit]
options.model = gpt-4
[o1-mini]
options.stream = 0
options.model = o1-mini
options.max_completion_tokens = 25000
options.temperature = 1
options.initial_prompt =