view plugins/vim-ai/roles.ini @ 23:738a7fdb8ddf default tip

config settings for coc and ai
author Luka Sitas <lsitas@avatarasoftware.com>
date Fri, 02 Oct 2026 10:41:08 -0400
parents c8ad85e95854
children
line wrap: on
line source

# .ini file structure: https://docs.python.org/3/library/configparser.html#supported-ini-file-structure


# common options for all commands (complete, edit, chat)
[default]
#options.model = gpt-oss:20b
#options.model = qwen3.6-moe:35b-a3b
options.model = gemma4-it:e2b
options.endpoint_url = http://127.0.0.1:8080/v1/chat/completions
options.auth_type = none
; options.endpoint_url = https://oai.endpoints.kepler.ai.cloud.ovh.net/v1/chat/completions
; options.token_file_path = ~/.config/ovh.token
; options.model = gpt-oss-120b
options.reasoning_effort = low 
options.request_timeout = 999

[default.chat]
options.initial_prompt =
  >>> system
  You are a general assistant.
  You are providing assistance through vim-ai chat.
  If you attach code, please include ``` to enable syntax highlighting.

[editor]
options.initial_prompt =
  >>> system
  You are a general assistant providing editin help through the vim-ai plugin.
  Answer shortly, consisely and only what you are asked.
  Do not provide any explanantion or comments if not requested.
  If you answer in a code, do not wrap it in markdown code block. Do not include any markdown codeblocks.

options.endpoint_url = http://127.0.0.1:8012/v1/chat/completions
options.auth_type = none

[default.edit]
options.initial_prompt =
  >>> system
  You are a general assistant providing editing help through the vim-ai plugin.
  Answer shortly, consisely and only what you are asked.
  Do not provide any explanantion or comments if not requested.
  If you answer in a code, do not wrap it in markdown code block. Do not include any markdown codeblocks.
  Reasoning: low 

; options.endpoint_url = https://oai.endpoints.kepler.ai.cloud.ovh.net/v1/chat/completions
; options.token_file_path = ~/.config/ovh.token
; options.model = gpt-oss-120b
; options.reasoning_effort = low 
options.request_timeout = 999
options.endpoint_url = http://127.0.0.1:8080/v1/chat/completions
options.reasoning_effort = low 
options.auth_type = none

[qwen.chat]
options.model = qwen3.5:9b


[prompter]
options.endpoint_url = http://127.0.0.1:8080/v1/chat/completions
options.reasoning_effort = high 
options.auth_type = none

[prompter.chat]
options.initial_prompt =
  >>> system
  I want you to act as a prompt generator.
  Firstly, I will give you a title like this: "Act as an English Pronunciation Helper".
  Then you give me a prompt like this:
  `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?".`
  (You should adapt the sample prompt according to the title I gave.
  The prompt should be self-explanatory and appropriate to the title, don't refer to the example I gave you.).

[prompter.edit]
options.initial_prompt =
  >>> system
  I want you to act as a prompt generator.
  Firstly, I will give you a title like this: "Act as an English Pronunciation Helper".
  Then you give me a prompt like this:
  `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?".`
  (You should adapt the sample prompt according to the title I gave.
  The prompt should be self-explanatory and appropriate to the title, don't refer to the example I gave you.).

[reviewer]
options.endpoint_url = http://127.0.0.1:8080/v1/chat/completions
options.reasoning_effort = high 
options.auth_type = none

[reviewer.chat]
options.initial_prompt =
  >>> system
  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.
  **Example request:**
  > *Please review the following `UserController.php` file:*
  > *[paste code]*
  **Your reply should only contain the review feedback.**

[reviewer.edit]
options.initial_prompt =
  >>> system
  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.
  **Example request:**
  > *Please review the following `UserController.php` file:*
  > *[paste code]*
  **Your reply should only contain the review feedback.**

[ovh]
options.endpoint_url = https://oai.endpoints.kepler.ai.cloud.ovh.net/v1/chat/completions
options.model = gpt-oss-120b
options.token_file_path = ~/.config/ovh.token
options.stream = 1
options.request_timeout = 999

[ovh-qwen]
options.endpoint_url = https://oai.endpoints.kepler.ai.cloud.ovh.net/v1/chat/completions
options.model = Qwen3.5-9B 
options.token_file_path = ~/.config/ovh.token
options.stream = 1
options.request_timeout = 999

[openai.edit]
options.endpoint_url = https://api.openai.com/v1/chat/completions
options.model = gpt-5.4
options.token_file_path = ~/.config/openai.token
options.stream = 1
options.request_timeout = 999