From 0ce77f48750e74b48e1fdd0f5c57dd7bbf8f65eb Mon Sep 17 00:00:00 2001 From: KoboldAI Dev Date: Tue, 4 May 2021 11:48:24 -0400 Subject: [PATCH] Fixed InferKit API requests sending a default top_p value instead of the user-selected value --- aiserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiserver.py b/aiserver.py index ba3d9264..37cdff7c 100644 --- a/aiserver.py +++ b/aiserver.py @@ -553,7 +553,7 @@ def ikrequest(txt): 'startFromBeginning': False, 'streamResponse': False, 'temperature': vars.temp, - 'topP': 0.9 + 'topP': vars.top_p } # Create request