diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-02-09 15:02:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-09 15:02:03 +0100 |
commit | 2054acce0a71e501490f5c6488b1d0bdc74384d0 (patch) | |
tree | d4591210a6458b4392485afba233d8e7fa02552c /g4f/Provider/needs_auth | |
parent | Update provider and model list (#1568) (diff) | |
download | gpt4free-2054acce0a71e501490f5c6488b1d0bdc74384d0.tar gpt4free-2054acce0a71e501490f5c6488b1d0bdc74384d0.tar.gz gpt4free-2054acce0a71e501490f5c6488b1d0bdc74384d0.tar.bz2 gpt4free-2054acce0a71e501490f5c6488b1d0bdc74384d0.tar.lz gpt4free-2054acce0a71e501490f5c6488b1d0bdc74384d0.tar.xz gpt4free-2054acce0a71e501490f5c6488b1d0bdc74384d0.tar.zst gpt4free-2054acce0a71e501490f5c6488b1d0bdc74384d0.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/Provider/needs_auth/OpenaiChat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/needs_auth/OpenaiChat.py b/g4f/Provider/needs_auth/OpenaiChat.py index c122da46..7c707b5e 100644 --- a/g4f/Provider/needs_auth/OpenaiChat.py +++ b/g4f/Provider/needs_auth/OpenaiChat.py @@ -434,7 +434,7 @@ class OpenaiChat(AsyncGeneratorProvider, ProviderModelMixin): action = "continue" await asyncio.sleep(5) if history_disabled and auto_continue: - await cls.delete_conversation(session, headers, conversation_id) + await cls.delete_conversation(session, auth_headers, conversation_id) @classmethod def browse_access_token(cls, proxy: str = None, timeout: int = 1200) -> tuple[str, dict]: |