From b46538e14c77513021472f168b2323f2b16070ca Mon Sep 17 00:00:00 2001 From: lanqian528 <5499636+lanqian528@users.noreply.github.com> Date: Sat, 12 Oct 2024 04:01:23 +0800 Subject: [PATCH] fix cf-spinner-please-wait --- chatgpt/ChatService.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/chatgpt/ChatService.py b/chatgpt/ChatService.py index f6b1d38..503efd7 100644 --- a/chatgpt/ChatService.py +++ b/chatgpt/ChatService.py @@ -105,8 +105,6 @@ class ChatService: self.base_headers['authkey'] = auth_key await get_dpl(self) - self.s.session.cookies.set("__Secure-next-auth.callback-url", "https%3A%2F%2Fchatgpt.com;", - domain=self.host_url.split("://")[1], secure=True) async def set_model(self): self.origin_model = self.data.get("model", "gpt-3.5-turbo-0125")