diff options
| author | Martin Bielik <martin.bielik@instea.sk> | 2024-12-05 20:48:50 +0100 |
|---|---|---|
| committer | Martin Bielik <martin.bielik@instea.sk> | 2024-12-05 20:48:50 +0100 |
| commit | aa5eed08273e1a89d9053e9b49b497b463af5e46 (patch) | |
| tree | 8d2cfc727fdb490925b5adfc08881bdeea15c583 /README.md | |
| parent | 24f0a8b7864511ce8f4a30251c511a3b63e5573e (diff) | |
| download | vim-ai-aa5eed08273e1a89d9053e9b49b497b463af5e46.tar.gz | |
updated edit configuration docu
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -317,14 +317,16 @@ let g:vim_ai_complete = { let g:vim_ai_edit = { \ "engine": "chat", \ "options": { -\ "model": "gpt-3.5-turbo-instruct", -\ "endpoint_url": "https://api.openai.com/v1/completions", -\ "max_tokens": 1000, +\ "model": "gpt-4o", +\ "endpoint_url": "https://api.openai.com/v1/chat/completions", +\ "max_tokens": 0, +\ "max_completion_tokens": 0, \ "temperature": 0.1, \ "request_timeout": 20, \ "stream": 1, \ "enable_auth": 1, \ "selection_boundary": "#####", +\ "initial_prompt": s:initial_complete_prompt, \ }, \ "ui": { \ "paste_mode": 1, |