From 0e07ae77cf190f90962e1f2032f94e2923d72941 Mon Sep 17 00:00:00 2001 From: "grandsonneo@gmail.com" Date: Fri, 21 Jul 2023 22:17:53 -0400 Subject: Use the temperature parameter --- g4f/Provider/Providers/Lockchat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/Provider/Providers/Lockchat.py') diff --git a/g4f/Provider/Providers/Lockchat.py b/g4f/Provider/Providers/Lockchat.py index 489356ce..dd1edb84 100644 --- a/g4f/Provider/Providers/Lockchat.py +++ b/g4f/Provider/Providers/Lockchat.py @@ -11,7 +11,7 @@ working = False def _create_completion(model: str, messages: list, stream: bool, temperature: float = 0.7, **kwargs): payload = { - "temperature": 0.7, + "temperature": temperature, "messages": messages, "model": model, "stream": True, -- cgit v1.2.3