From f159c9d2b186ec9842edddb09cc484bdd5dfdbee Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sun, 19 May 2024 18:47:38 +0300 Subject: [PATCH] server : don't pass temperature as string --- examples/server/tests/features/steps/steps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/server/tests/features/steps/steps.py b/examples/server/tests/features/steps/steps.py index 7da503f2c..3d099fcc5 100644 --- a/examples/server/tests/features/steps/steps.py +++ b/examples/server/tests/features/steps/steps.py @@ -883,7 +883,7 @@ async def request_completion(prompt, "cache_prompt": cache_prompt, "id_slot": id_slot, "seed": seed if seed is not None else 42, - "temperature": temperature if temperature is not None else "0.8f", + "temperature": temperature if temperature is not None else 0.8f, "n_probs": 2, }, headers=headers,