summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-02-28 10:02:09 +0100
committerGitHub <noreply@github.com>2024-02-28 10:02:09 +0100
commitf7f4018d36d53fee791013c5eab8d5566cbb51dd (patch)
tree4aadb03ecc9cee524359d9e455432cf6eca1264e /g4f
parentUpdate OpenaiChat.py (diff)
downloadgpt4free-f7f4018d36d53fee791013c5eab8d5566cbb51dd.tar
gpt4free-f7f4018d36d53fee791013c5eab8d5566cbb51dd.tar.gz
gpt4free-f7f4018d36d53fee791013c5eab8d5566cbb51dd.tar.bz2
gpt4free-f7f4018d36d53fee791013c5eab8d5566cbb51dd.tar.lz
gpt4free-f7f4018d36d53fee791013c5eab8d5566cbb51dd.tar.xz
gpt4free-f7f4018d36d53fee791013c5eab8d5566cbb51dd.tar.zst
gpt4free-f7f4018d36d53fee791013c5eab8d5566cbb51dd.zip
Diffstat (limited to '')
-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 442e2bf4..e507404b 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, cls._headers, conversation_id)
+ await cls.delete_conversation(session, cls._headers, fields.conversation_id)
@staticmethod
async def iter_messages_ws(ws: ClientWebSocketResponse) -> AsyncIterator: