summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/needs_auth
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-03-26 21:45:53 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-03-26 21:45:53 +0100
commitfd92918b77e36f83a8b7a59469df35f3f23a48f1 (patch)
tree732d16b41c991c22b17683ca88e68aa62ddef834 /g4f/Provider/needs_auth
parentNo arkose token and .har files (diff)
downloadgpt4free-fd92918b77e36f83a8b7a59469df35f3f23a48f1.tar
gpt4free-fd92918b77e36f83a8b7a59469df35f3f23a48f1.tar.gz
gpt4free-fd92918b77e36f83a8b7a59469df35f3f23a48f1.tar.bz2
gpt4free-fd92918b77e36f83a8b7a59469df35f3f23a48f1.tar.lz
gpt4free-fd92918b77e36f83a8b7a59469df35f3f23a48f1.tar.xz
gpt4free-fd92918b77e36f83a8b7a59469df35f3f23a48f1.tar.zst
gpt4free-fd92918b77e36f83a8b7a59469df35f3f23a48f1.zip
Diffstat (limited to 'g4f/Provider/needs_auth')
-rw-r--r--g4f/Provider/needs_auth/OpenaiChat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/needs_auth/OpenaiChat.py b/g4f/Provider/needs_auth/OpenaiChat.py
index b83025e4..72f9f224 100644
--- a/g4f/Provider/needs_auth/OpenaiChat.py
+++ b/g4f/Provider/needs_auth/OpenaiChat.py
@@ -403,7 +403,7 @@ class OpenaiChat(AsyncGeneratorProvider, ProviderModelMixin):
"conversation_id": conversation_id,
"parent_message_id": parent_id,
"model": model,
- "history_and_training_disabled": history_disabled and not auto_continue,
+ "history_and_training_disabled": history_disabled and not auto_continue and not return_conversation,
"websocket_request_id": websocket_request_id
}
if action != "continue":