diff options
author | Heiner Lohaus <heiner.lohaus@netformic.com> | 2023-08-22 23:27:34 +0200 |
---|---|---|
committer | Heiner Lohaus <heiner.lohaus@netformic.com> | 2023-08-22 23:27:34 +0200 |
commit | 98d3304108de3e55c18f2af8a66a501541ec658b (patch) | |
tree | a2d80ab0c39ec93ebb97967a9f5a32f0c662c99e /g4f/Provider/V50.py | |
parent | ~ | Merge pull request #829 (diff) | |
download | gpt4free-98d3304108de3e55c18f2af8a66a501541ec658b.tar gpt4free-98d3304108de3e55c18f2af8a66a501541ec658b.tar.gz gpt4free-98d3304108de3e55c18f2af8a66a501541ec658b.tar.bz2 gpt4free-98d3304108de3e55c18f2af8a66a501541ec658b.tar.lz gpt4free-98d3304108de3e55c18f2af8a66a501541ec658b.tar.xz gpt4free-98d3304108de3e55c18f2af8a66a501541ec658b.tar.zst gpt4free-98d3304108de3e55c18f2af8a66a501541ec658b.zip |
Diffstat (limited to 'g4f/Provider/V50.py')
-rw-r--r-- | g4f/Provider/V50.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/g4f/Provider/V50.py b/g4f/Provider/V50.py index 125dd7c5..765f73bd 100644 --- a/g4f/Provider/V50.py +++ b/g4f/Provider/V50.py @@ -8,7 +8,7 @@ class V50(BaseProvider): supports_gpt_35_turbo = True supports_stream = False needs_auth = False - working = True + working = False @staticmethod def create_completion( @@ -46,7 +46,8 @@ class V50(BaseProvider): } response = requests.post("https://p5.v50.ltd/api/chat-process", json=payload, headers=headers, proxies=kwargs['proxy'] if 'proxy' in kwargs else {}) - yield response.text + if "https://fk1.v50.ltd" not in response.text: + yield response.text @classmethod @property |