llm-ls icon indicating copy to clipboard operation
llm-ls copied to clipboard

[LLM] missing field `request_params`

Open Terr2048 opened this issue 9 months ago • 1 comments

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,
    }
  },
})

Terr2048 avatar May 01 '24 00:05 Terr2048