summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Providers/Lockchat.py
diff options
context:
space:
mode:
authorxtekky <98614666+xtekky@users.noreply.github.com>2023-07-22 14:41:23 +0200
committerGitHub <noreply@github.com>2023-07-22 14:41:23 +0200
commit2d345927ab6112d31863d3bbd4f7c495ebc04f47 (patch)
tree6bf4bece40b0adb823755d9e9c06541d1347f0c6 /g4f/Provider/Providers/Lockchat.py
parentMerge pull request #768 from nonk123/main (diff)
parentUse the temperature parameter (diff)
downloadgpt4free-2d345927ab6112d31863d3bbd4f7c495ebc04f47.tar
gpt4free-2d345927ab6112d31863d3bbd4f7c495ebc04f47.tar.gz
gpt4free-2d345927ab6112d31863d3bbd4f7c495ebc04f47.tar.bz2
gpt4free-2d345927ab6112d31863d3bbd4f7c495ebc04f47.tar.lz
gpt4free-2d345927ab6112d31863d3bbd4f7c495ebc04f47.tar.xz
gpt4free-2d345927ab6112d31863d3bbd4f7c495ebc04f47.tar.zst
gpt4free-2d345927ab6112d31863d3bbd4f7c495ebc04f47.zip
Diffstat (limited to 'g4f/Provider/Providers/Lockchat.py')
-rw-r--r--g4f/Provider/Providers/Lockchat.py2
1 files changed, 1 insertions, 1 deletions
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,