From e18a0460d446f72f015f2fdc6b8b5962574dde98 Mon Sep 17 00:00:00 2001 From: kabachuha Date: Sat, 4 Nov 2023 22:12:51 +0300 Subject: [PATCH] fix openai extension not working because of absent new defaults (#4477) --- extensions/openai/defaults.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/openai/defaults.py b/extensions/openai/defaults.py index 9be66a45..dc400588 100644 --- a/extensions/openai/defaults.py +++ b/extensions/openai/defaults.py @@ -7,7 +7,9 @@ default_req_params = { 'auto_max_new_tokens': False, 'max_tokens_second': 0, 'temperature': 1.0, + 'temperature_last': False, 'top_p': 1.0, + 'min_p': 0, 'top_k': 1, # choose 20 for chat in absence of another default 'repetition_penalty': 1.18, 'presence_penalty': 0,