summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorlobowarren <lobowarren0@gmail.com>2024-06-23 02:12:22 +0200
committerlobowarren <lobowarren0@gmail.com>2024-06-23 02:12:22 +0200
commitc29487cdb522a2655ccff45bdfc33895ed4daf84 (patch)
tree54ce3aee1e616c38e9938d1978acdbb2508f3425 /g4f
parentAdd Pizzagpt Provider (diff)
downloadgpt4free-c29487cdb522a2655ccff45bdfc33895ed4daf84.tar
gpt4free-c29487cdb522a2655ccff45bdfc33895ed4daf84.tar.gz
gpt4free-c29487cdb522a2655ccff45bdfc33895ed4daf84.tar.bz2
gpt4free-c29487cdb522a2655ccff45bdfc33895ed4daf84.tar.lz
gpt4free-c29487cdb522a2655ccff45bdfc33895ed4daf84.tar.xz
gpt4free-c29487cdb522a2655ccff45bdfc33895ed4daf84.tar.zst
gpt4free-c29487cdb522a2655ccff45bdfc33895ed4daf84.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/Pizzagpt.py5
1 files changed, 1 insertions, 4 deletions
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",