summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMartin Bielik <martin.bielik@instea.sk>2024-12-06 20:48:05 +0100
committerMartin Bielik <martin.bielik@instea.sk>2024-12-06 20:48:05 +0100
commit556819b8245133ebd9d6cbe77358f20df4cc9ca2 (patch)
tree33e53357e0da11b080e89ba38f98457bf864d494 /README.md
parent9d42c36dd47060050b514a334c4d67a2e9358782 (diff)
downloadvim-ai-556819b8245133ebd9d6cbe77358f20df4cc9ca2.tar.gz
allow override global token config
Diffstat (limited to '')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index f0ec13f..d321b35 100644
--- a/README.md
+++ b/README.md
@@ -293,6 +293,7 @@ END
" - options.initial_prompt: prompt prepended to every chat request (list of lines or string)
" - options.request_timeout: request timeout in seconds
" - options.enable_auth: enable authorization using openai key
+" - options.token_file_path: override global token configuration
" - options.selection_boundary: selection prompt wrapper (eliminates empty responses, see #20)
" - ui.paste_mode: use paste mode (see more info in the Notes below)
let g:vim_ai_complete = {
@@ -306,6 +307,7 @@ let g:vim_ai_complete = {
\ "request_timeout": 20,
\ "stream": 1,
\ "enable_auth": 1,
+\ "token_file_path": "",
\ "selection_boundary": "#####",
\ "initial_prompt": s:initial_complete_prompt,
\ },
@@ -320,6 +322,7 @@ let g:vim_ai_complete = {
" - options.initial_prompt: prompt prepended to every chat request (list of lines or string)
" - options.request_timeout: request timeout in seconds
" - options.enable_auth: enable authorization using openai key
+" - options.token_file_path: override global token configuration
" - options.selection_boundary: selection prompt wrapper (eliminates empty responses, see #20)
" - ui.paste_mode: use paste mode (see more info in the Notes below)
let g:vim_ai_edit = {
@@ -333,6 +336,7 @@ let g:vim_ai_edit = {
\ "request_timeout": 20,
\ "stream": 1,
\ "enable_auth": 1,
+\ "token_file_path": "",
\ "selection_boundary": "#####",
\ "initial_prompt": s:initial_complete_prompt,
\ },
@@ -354,6 +358,7 @@ END
" - options.initial_prompt: prompt prepended to every chat request (list of lines or string)
" - options.request_timeout: request timeout in seconds
" - options.enable_auth: enable authorization using openai key
+" - options.token_file_path: override global token configuration
" - options.selection_boundary: selection prompt wrapper (eliminates empty responses, see #20)
" - ui.populate_options: put [chat-options] to the chat header
" - ui.open_chat_command: preset (preset_below, preset_tab, preset_right) or a custom command
@@ -369,6 +374,7 @@ let g:vim_ai_chat = {
\ "request_timeout": 20,
\ "stream": 1,
\ "enable_auth": 1,
+\ "token_file_path": "",
\ "selection_boundary": "",
\ "initial_prompt": s:initial_chat_prompt,
\ },