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