Fix temp in tests

This commit is contained in:
2025-08-06 18:49:36 +02:00
parent a26d853ad5
commit 8154b8d0ab

View File

@@ -113,7 +113,7 @@ func TestBuildCommandArgs_NumericFields(t *testing.T) {
"--threads": "4", "--threads": "4",
"--ctx-size": "2048", "--ctx-size": "2048",
"--gpu-layers": "16", "--gpu-layers": "16",
"--temperature": "0.7", "--temp": "0.7",
"--top-k": "40", "--top-k": "40",
"--top-p": "0.9", "--top-p": "0.9",
} }
@@ -231,7 +231,7 @@ func TestUnmarshalJSON_StandardFields(t *testing.T) {
"verbose": true, "verbose": true,
"ctx_size": 4096, "ctx_size": 4096,
"gpu_layers": 32, "gpu_layers": 32,
"temperature": 0.7 "temp": 0.7
}` }`
var options llamacpp.LlamaServerOptions var options llamacpp.LlamaServerOptions