diff --git a/nvim/lua/plugins/llm.lua b/nvim/lua/plugins/llm.lua index d2239d8..a2b94f2 100644 --- a/nvim/lua/plugins/llm.lua +++ b/nvim/lua/plugins/llm.lua @@ -96,7 +96,7 @@ return { api_token = llama_api_key, model = model, backend = 'ollama', - url = llama_base_url .. '/api/generate', + url = llama_base_url .. '/v1/chat/completions', tokens_to_clear = get_stop_tokens(model), fim = get_fim_options(model), debounce_ms = 500,