llm.nvim
llm.nvim copied to clipboard
Unsupported architecture or OS: x86_64 Windows_NT
When I launch neovim, I get this error message:
[LLM] Unsupported architecture or OS: x86_64 Windows_NT
[LLM] failed to download llm-ls
It's the same for MinGW:
[LLM] Unsupported architecture or OS: x86_64 MINGW32_NT-10.0
[LLM] failed to download llm-ls
My configuration is as follows:
'huggingface/llm.nvim',
config = function()
require('llm').setup {
backend = 'ollama',
model = 'codellama',
url = 'http://localhost:11434/api/generate',
lsp = { bin_path = vim.api.nvim_call_function('stdpath', { 'data' }) .. '/mason/bin/llm-ls' },
}
end
and the installation command looks like this:
require('mason-tool-installer').setup {
ensure_installed = { 'llm-ls' }
}
It works fine in WSL though (using the same config).