summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/needs_auth/OpenaiChat.py
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2023-11-15 23:08:58 +0100
committerGitHub <noreply@github.com>2023-11-15 23:08:58 +0100
commit52545369c5f76f4336042f4b23814056cdcb281a (patch)
tree8c6a48bb858d5069870adf872e271119658ef0ab /g4f/Provider/needs_auth/OpenaiChat.py
parent~ (diff)
downloadgpt4free-52545369c5f76f4336042f4b23814056cdcb281a.tar
gpt4free-52545369c5f76f4336042f4b23814056cdcb281a.tar.gz
gpt4free-52545369c5f76f4336042f4b23814056cdcb281a.tar.bz2
gpt4free-52545369c5f76f4336042f4b23814056cdcb281a.tar.lz
gpt4free-52545369c5f76f4336042f4b23814056cdcb281a.tar.xz
gpt4free-52545369c5f76f4336042f4b23814056cdcb281a.tar.zst
gpt4free-52545369c5f76f4336042f4b23814056cdcb281a.zip
Diffstat (limited to 'g4f/Provider/needs_auth/OpenaiChat.py')
-rw-r--r--g4f/Provider/needs_auth/OpenaiChat.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/g4f/Provider/needs_auth/OpenaiChat.py b/g4f/Provider/needs_auth/OpenaiChat.py
index c0e29dfb..eccf2bd7 100644
--- a/g4f/Provider/needs_auth/OpenaiChat.py
+++ b/g4f/Provider/needs_auth/OpenaiChat.py
@@ -53,6 +53,7 @@ class OpenaiChat(AsyncGeneratorProvider):
"history_and_training_disabled": not auto_continue,
}
conversation_id = None
+ end_turn = False
while not end_turn:
if not auto_continue:
end_turn = True