huggingface / llm-ls

LSP server leveraging LLMs for code completion (and more?)
Apache License 2.0
553 stars 43 forks source link

[LLM] missing field `request_params` #93

Open Terr2048 opened 2 months ago

Terr2048 commented 2 months ago

I'm using neovim with llm.nvim and I'm getting this error when calling LLMSuggestion command: [LLM] missing field `request_params`

llm.nvim config:

require('llm').setup({
  backend = "ollama",
  model = "llama3:text",
  url = "http://localhost:11434/api/generate",
  request_body = {
    parameters = {
      temperature = 0.2,
      top_p = 0.95,
    }
  },
})
McPatate commented 2 months ago

This sounds like an llm.nvim issue, not llm-ls, could you open an issue over there please?