From aa5eed08273e1a89d9053e9b49b497b463af5e46 Mon Sep 17 00:00:00 2001 From: Martin Bielik Date: Thu, 5 Dec 2024 20:48:50 +0100 Subject: updated edit configuration docu --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6c9300c..1bc17a5 100644 --- a/README.md +++ b/README.md @@ -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, -- cgit v1.2.3