From 082eb061b9233719a4c763905008a17d636b468f Mon Sep 17 00:00:00 2001 From: Martin Bielik Date: Mon, 16 Dec 2024 20:14:56 +0100 Subject: edit command role --- roles-example.ini | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'roles-example.ini') 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] -- cgit v1.2.3