Files
llama.cpp/common
Daniel Bevenius 51107a0b63 sampling : fix temperature check to allow zero temperature
This commit modifies the temperature sampling check to allow a
temperature value of zero. Previously, the check only allowed
positive temperature values, which excluded the valid case of
zero temperature.

The motivation for this is to enable a zero temperature setting which is
also currently causing the following test to fail:
```console
(venv) $ cd tools/server/tests
(venv) $ ./tests.sh unit/test_basic.py::test_load_split_model
```
2025-11-27 09:18:43 +01:00
..
2025-05-30 16:25:45 +03:00
2025-11-14 15:56:19 +01:00
2025-11-14 15:56:19 +01:00