From f7f4018d36d53fee791013c5eab8d5566cbb51dd Mon Sep 17 00:00:00 2001 From: H Lohaus Date: Wed, 28 Feb 2024 10:02:09 +0100 Subject: Update OpenaiChat.py --- g4f/Provider/needs_auth/OpenaiChat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f') 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: -- cgit v1.2.3