# 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 # 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. config.options.temperature = 0.4 # command specific options: [refactor.chat] config.options.model = gpt-4o [refactor.complete] config.options.model = gpt-4 [refactor.edit] config.options.model = gpt-4 [o1-mini] config.options.stream = 0 config.options.model = o1-mini config.options.max_completion_tokens = 25000 config.options.temperature = 1 config.options.initial_prompt =