cmp-ai icon indicating copy to clipboard operation
cmp-ai copied to clipboard

ollama completion does not work at all

Open OneOfOne opened this issue 2 months ago • 3 comments

Using manual completion (C-x) it just spams "Completion started" until I have to close nvim.

my config:

{
	'maxwell-bland/cmp-ai',
	config = function()
		local cmp_ai = require('cmp_ai.config')

		cmp_ai:setup({
			max_lines = 100,
			provider = 'Ollama',
			provider_options = {
				stream = true,
				model = 'mistral',
			},
			notify = true,
			notify_callback = function(msg)
				vim.notify(msg)
			end,
			run_on_every_keystroke = false,
		})
	end,
},

OneOfOne avatar Apr 10 '24 15:04 OneOfOne