diff options
author | grandsonneo@gmail.com <grandsonneo@gmail.com> | 2023-07-22 04:17:53 +0200 |
---|---|---|
committer | grandsonneo@gmail.com <grandsonneo@gmail.com> | 2023-07-22 04:17:53 +0200 |
commit | 0e07ae77cf190f90962e1f2032f94e2923d72941 (patch) | |
tree | 6bf4bece40b0adb823755d9e9c06541d1347f0c6 /g4f/Provider/Providers/ChatgptLogin.py | |
parent | Merge pull request #768 from nonk123/main (diff) | |
download | gpt4free-0e07ae77cf190f90962e1f2032f94e2923d72941.tar gpt4free-0e07ae77cf190f90962e1f2032f94e2923d72941.tar.gz gpt4free-0e07ae77cf190f90962e1f2032f94e2923d72941.tar.bz2 gpt4free-0e07ae77cf190f90962e1f2032f94e2923d72941.tar.lz gpt4free-0e07ae77cf190f90962e1f2032f94e2923d72941.tar.xz gpt4free-0e07ae77cf190f90962e1f2032f94e2923d72941.tar.zst gpt4free-0e07ae77cf190f90962e1f2032f94e2923d72941.zip |
Diffstat (limited to 'g4f/Provider/Providers/ChatgptLogin.py')
-rw-r--r-- | g4f/Provider/Providers/ChatgptLogin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/Providers/ChatgptLogin.py b/g4f/Provider/Providers/ChatgptLogin.py index 3659ee17..0fdbab8e 100644 --- a/g4f/Provider/Providers/ChatgptLogin.py +++ b/g4f/Provider/Providers/ChatgptLogin.py @@ -75,7 +75,7 @@ def _create_completion(model: str, messages: list, stream: bool, **kwargs): 'userName': '<div class="mwai-name-text">User:</div>', 'aiName': '<div class="mwai-name-text">AI:</div>', 'model': 'gpt-3.5-turbo', - 'temperature': 0.8, + 'temperature': kwargs.get('temperature', 0.8), 'maxTokens': 1024, 'maxResults': 1, 'apiKey': '', |