Mercurial > vim
comparison plugins/vim-ai/roles.ini @ 10:b95a8e2525cc
Better vim-ai support for local model on edit
| author | Luka Sitas <lsitas@avatarasoftware.com> |
|---|---|
| date | Fri, 28 Nov 2025 08:44:05 -0500 |
| parents | |
| children | 412c33afd395 |
comparison
equal
deleted
inserted
replaced
| 9:17c557de03e0 | 10:b95a8e2525cc |
|---|---|
| 1 # .ini file structure: https://docs.python.org/3/library/configparser.html#supported-ini-file-structure | |
| 2 | |
| 3 | |
| 4 # common options for all commands (complete, edit, chat) | |
| 5 [default] | |
| 6 options.model = gpt-5.1 | |
| 7 | |
| 8 [default.chat] | |
| 9 options.initial_prompt = | |
| 10 >>> system | |
| 11 You are a general assistant. | |
| 12 You are providing assistance through vim-ai chat. | |
| 13 If you attach code, please include ``` to enable syntax highlighting. | |
| 14 | |
| 15 [editor] | |
| 16 options.initial_prompt = | |
| 17 >>> system | |
| 18 You are a general assistant providing editin help through the vim-ai plugin. | |
| 19 Answer shortly, consisely and only what you are asked. | |
| 20 Do not provide any explanantion or comments if not requested. | |
| 21 If you answer in a code, do not wrap it in markdown code block. Do not include any markdown codeblocks. | |
| 22 | |
| 23 options.endpoint_url = http://127.0.0.1:8012/v1/chat/completions | |
| 24 options.auth_type = none | |
| 25 | |
| 26 [default.edit] | |
| 27 options.initial_prompt = | |
| 28 >>> system | |
| 29 You are a general assistant providing editin help through the vim-ai plugin. | |
| 30 Answer shortly, consisely and only what you are asked. | |
| 31 Do not provide any explanantion or comments if not requested. | |
| 32 If you answer in a code, do not wrap it in markdown code block. Do not include any markdown codeblocks. | |
| 33 Reasoning: low | |
| 34 | |
| 35 options.endpoint_url = http://127.0.0.1:8080/v1/chat/completions | |
| 36 options.reasoning_effort = none | |
| 37 options.auth_type = none |
