You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had error text about a job being undefined every time I tried to do anything, then the window would appear and things would work once I accepted the error message. I updated to latest neovim and lunarvim (since I'm using lunarvim) but it didn't seem to help.
Actual error:
E5108: Error executing lua ...arvim/site/pack/lazy/opt/ollama.nvim/lua/ollama/init.lua:294: attempt to index local 'job' (a nil value)
To fix this I had to add, at line 294:
if job == nil then
return
end
so it looks like:
})
---@param j Job
if job == nil then
return
end
job:add_on_exit_callback(function(j)
if stream_called then
return
end
Then the errors stopped.
This plugin is fantastic by the way, thank you!!
The text was updated successfully, but these errors were encountered:
Are you still having this issue? Neovim or neovim nightly?
Job really shouldn't be nil here, because it's being defined by the plenary curl method just above. I'm curious how it is both not recognizing the job object yet still seems to be working?
I had error text about a
job
being undefined every time I tried to do anything, then the window would appear and things would work once I accepted the error message. I updated to latest neovim and lunarvim (since I'm using lunarvim) but it didn't seem to help.Actual error:
To fix this I had to add, at line 294:
so it looks like:
Then the errors stopped.
This plugin is fantastic by the way, thank you!!
The text was updated successfully, but these errors were encountered: