From c29487cdb522a2655ccff45bdfc33895ed4daf84 Mon Sep 17 00:00:00 2001 From: lobowarren Date: Sun, 23 Jun 2024 05:42:22 +0530 Subject: fixes --- g4f/Provider/Pizzagpt.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'g4f') diff --git a/g4f/Provider/Pizzagpt.py b/g4f/Provider/Pizzagpt.py index 6baa0c8c..47e74ee3 100644 --- a/g4f/Provider/Pizzagpt.py +++ b/g4f/Provider/Pizzagpt.py @@ -8,7 +8,7 @@ class Pizzagpt(AsyncGeneratorProvider): url = "https://www.pizzagpt.it" api_endpoint = "/api/chatx-completion" supports_message_history = False - supports_gpt_35_turbo = False + supports_gpt_35_turbo = True working = True @classmethod @@ -29,9 +29,6 @@ class Pizzagpt(AsyncGeneratorProvider): "Content-Type": "application/json", "Origin": cls.url, "Referer": f"{cls.url}/en", - "Sec-Ch-Ua": "\"Not/A)Brand\";v=\"8\", \"Chromium\";v=\"126\", \"Google Chrome\";v=\"126\"", - "Sec-Ch-Ua-Mobile": "?0", - "Sec-Ch-Ua-Platform": "\"Windows\"", "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-origin", -- cgit v1.2.3