blob: dde5fe0401dc7d6ce77646eddfcb4856056ae33f (
plain)
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
32
33
34
|
# .ini file structure:
# - https://docs.python.org/3/library/configparser.html#supported-ini-file-structure
[grammar]
prompt = fix spelling and grammar
[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 engines
[refactor.options]
temperature = 0.4
# engine specific options:
[refactor.options-chat]
model = gpt-4
[refactor.options-complete]
[o1-mini]
[o1-mini.options-chat]
stream = 0
model = o1-mini
max_tokens = 0
max_completion_tokens = 25000
temperature = 1
initial_prompt =
>>> user
You are a general assistant.
If you attach a code block add syntax type after ``` to enable syntax highlighting.
|