huggingface / huggingface/llm-ls
[LLM] missing field `request_params`
- Dominant language
- Rust
- Stars
- 881
- Forks
- 71
- Avg merge
- 33m
- Merged PRs (30d)
- 1
Description
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,
}
},
})
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the LLMSuggestion command with the shown llm.nvim configuration and Ollama endpoint. Trace how request_body.parameters is handled and where the `request_params` error originates. Done means the same setup can request a suggestion without reporting the missing field.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- neovim, ollama, rust
- Domain
- ai, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100