Open hab25 opened 6 months ago
Is there a simple elisp hack to hardcode the temperature to zero?
You can create custom ollama model with temperature 0. See modelfile documentation in ollama repo.
I don't use the ollama backend; I use Groq or OpenRouter, depending on the model. (Both are OpenAI compatible servers.)
No simple hacks, I will add support later. Llm library supports it, so I need to pass param there.
I like setting temperature (see https://github.com/ahyatt/llm/blob/a090d3bdbd8764c2d0ea6e157ad02569068a09cb/llm.el#L101C1-L104C22 ) to 0.
AFAICT this is not currently cleanly possible with
ellama
.