summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/needs_auth/OpenaiChat.py
diff options
context:
space:
mode:
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