Update OpenaiChat.py

This commit is contained in:
H Lohaus 2024-02-09 15:02:03 +01:00 committed by GitHub
parent 5c75972c50
commit 2054acce0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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]: