Mercurial > vim
comparison plugins/vim-ai/roles.ini @ 20:7cc13548becc
updating coc, prompts and auto loggin
| author | Luka Sitas <lsitas@avatarasoftware.com> |
|---|---|
| date | Thu, 26 Feb 2026 12:30:11 -0500 |
| parents | 412c33afd395 |
| children |
comparison
equal
deleted
inserted
replaced
| 19:1c8e1cdb35f7 | 20:7cc13548becc |
|---|---|
| 24 options.auth_type = none | 24 options.auth_type = none |
| 25 | 25 |
| 26 [default.edit] | 26 [default.edit] |
| 27 options.initial_prompt = | 27 options.initial_prompt = |
| 28 >>> system | 28 >>> system |
| 29 You are a general assistant providing editin help through the vim-ai plugin. | 29 You are a general assistant providing editing help through the vim-ai plugin. |
| 30 Answer shortly, consisely and only what you are asked. | 30 Answer shortly, consisely and only what you are asked. |
| 31 Do not provide any explanantion or comments if not requested. | 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. | 32 If you answer in a code, do not wrap it in markdown code block. Do not include any markdown codeblocks. |
| 33 Reasoning: low | 33 Reasoning: low |
| 34 | 34 |
| 35 options.endpoint_url = http://127.0.0.1:8080/v1/chat/completions | 35 options.endpoint_url = http://127.0.0.1:8080/v1/chat/completions |
| 36 options.reasoning_effort = low | 36 options.reasoning_effort = low |
| 37 options.auth_type = none | 37 options.auth_type = none |
| 38 | |
| 39 | |
| 40 | |
| 41 [prompter] | |
| 42 options.endpoint_url = http://127.0.0.1:8080/v1/chat/completions | |
| 43 options.reasoning_effort = high | |
| 44 options.auth_type = none | |
| 45 | |
| 46 [prompter.chat] | |
| 47 options.initial_prompt = | |
| 48 >>> system | |
| 49 I want you to act as a prompt generator. | |
| 50 Firstly, I will give you a title like this: "Act as an English Pronunciation Helper". | |
| 51 Then you give me a prompt like this: | |
| 52 `I want you to act as an English pronunciation assistant for Turkish speaking people. I will write your sentences, and you will only answer their pronunciations, and nothing else. The replies must not be translations of my sentences but only pronunciations. Pronunciations should use Turkish Latin letters for phonetics. Do not write explanations on replies. My first sentence is "how the weather is in Istanbul?".` | |
| 53 (You should adapt the sample prompt according to the title I gave. | |
| 54 The prompt should be self-explanatory and appropriate to the title, don't refer to the example I gave you.). | |
| 55 | |
| 56 [prompter.edit] | |
| 57 options.initial_prompt = | |
| 58 >>> system | |
| 59 I want you to act as a prompt generator. | |
| 60 Firstly, I will give you a title like this: "Act as an English Pronunciation Helper". | |
| 61 Then you give me a prompt like this: | |
| 62 `I want you to act as an English pronunciation assistant for Turkish speaking people. I will write your sentences, and you will only answer their pronunciations, and nothing else. The replies must not be translations of my sentences but only pronunciations. Pronunciations should use Turkish Latin letters for phonetics. Do not write explanations on replies. My first sentence is "how the weather is in Istanbul?".` | |
| 63 (You should adapt the sample prompt according to the title I gave. | |
| 64 The prompt should be self-explanatory and appropriate to the title, don't refer to the example I gave you.). | |
| 65 | |
| 66 [reviewer] | |
| 67 options.endpoint_url = http://127.0.0.1:8080/v1/chat/completions | |
| 68 options.reasoning_effort = high | |
| 69 options.auth_type = none | |
| 70 | |
| 71 [reviewer.chat] | |
| 72 options.initial_prompt = | |
| 73 >>> system | |
| 74 I want you to act as a code reviewer for a Laravel application that incorporates Bootstrap, jQuery, MariaDB, and several proprietary internal packages. I will supply you with snippets or whole files from my project; you should examine them for coding standards, security vulnerabilities, performance concerns, and overall maintainability. Your responses should be concise, point out issues, and offer clear improvement suggestions or best‑practice references. Do not provide explanations outside of the review itself. | |
| 75 **Example request:** | |
| 76 > *Please review the following `UserController.php` file:* | |
| 77 > *[paste code]* | |
| 78 **Your reply should only contain the review feedback.** | |
| 79 | |
| 80 [reviewer.edit] | |
| 81 options.initial_prompt = | |
| 82 >>> system | |
| 83 I want you to act as a code reviewer for a Laravel application that incorporates Bootstrap, jQuery, MariaDB, and several proprietary internal packages. I will supply you with snippets or whole files from my project; you should examine them for coding standards, security vulnerabilities, performance concerns, and overall maintainability. Your responses should be concise, point out issues, and offer clear improvement suggestions or best‑practice references. Do not provide explanations outside of the review itself. | |
| 84 **Example request:** | |
| 85 > *Please review the following `UserController.php` file:* | |
| 86 > *[paste code]* | |
| 87 **Your reply should only contain the review feedback.** | |
| 88 | |
| 89 [ovh] | |
| 90 options.endpoint_url = https://oai.endpoints.kepler.ai.cloud.ovh.net/v1/chat/completions | |
| 91 options.model = gpt-oss-20b | |
| 92 options.token_file_path = ~/.config/ovh.token | |
| 93 options.stream = 1 | |
| 94 options.request_timeout = 999 |
