diff options
| author | Martin Bielik <mx.bielik@gmail.com> | 2024-03-24 11:29:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-24 11:29:43 +0100 |
| commit | edd54923c2caa81066e637da50f76905bb1c3a11 (patch) | |
| tree | 160568ea3abdabbca1273acb9bc423cfa98f1a53 /roles-example.ini | |
| parent | eb333e39e17d4d5240dbbc186a65bc6e9ab6b44e (diff) | |
| parent | 6a053767af08d6edfb46b4be72f05a9b3bc7be04 (diff) | |
| download | vim-ai-edd54923c2caa81066e637da50f76905bb1c3a11.tar.gz | |
Merge pull request #85 from madox2/custom-roles
Custom roles
Diffstat (limited to '')
| -rw-r--r-- | roles-example.ini | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/roles-example.ini b/roles-example.ini new file mode 100644 index 0000000..90d32bc --- /dev/null +++ b/roles-example.ini @@ -0,0 +1,22 @@ +# .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] |