summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Allyfy.py
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2024-10-03 13:20:46 +0200
committerGitHub <noreply@github.com>2024-10-03 13:20:46 +0200
commit6d19ba695655c85916deb2b6ba67c831fcf4c885 (patch)
tree467f56307f7a538b48eb9ffd6e318a9ff33e0159 /g4f/Provider/Allyfy.py
parent~ (diff)
parentfeat(g4f/models.py): enhance llama_3_1_405b with Blackbox provider (diff)
downloadgpt4free-6d19ba695655c85916deb2b6ba67c831fcf4c885.tar
gpt4free-6d19ba695655c85916deb2b6ba67c831fcf4c885.tar.gz
gpt4free-6d19ba695655c85916deb2b6ba67c831fcf4c885.tar.bz2
gpt4free-6d19ba695655c85916deb2b6ba67c831fcf4c885.tar.lz
gpt4free-6d19ba695655c85916deb2b6ba67c831fcf4c885.tar.xz
gpt4free-6d19ba695655c85916deb2b6ba67c831fcf4c885.tar.zst
gpt4free-6d19ba695655c85916deb2b6ba67c831fcf4c885.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/Allyfy.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/g4f/Provider/Allyfy.py b/g4f/Provider/Allyfy.py
index 8733b1ec..eb202a4f 100644
--- a/g4f/Provider/Allyfy.py
+++ b/g4f/Provider/Allyfy.py
@@ -9,8 +9,8 @@ from .helper import format_prompt
class Allyfy(AsyncGeneratorProvider):
- url = "https://chatbot.allyfy.chat"
- api_endpoint = "/api/v1/message/stream/super/chat"
+ url = "https://allyfy.chat"
+ api_endpoint = "https://chatbot.allyfy.chat/api/v1/message/stream/super/chat"
working = True
supports_gpt_35_turbo = True
@@ -53,7 +53,7 @@ class Allyfy(AsyncGeneratorProvider):
"packageName": "com.cch.allyfy.webh",
}
}
- async with session.post(f"{cls.url}{cls.api_endpoint}", json=data, proxy=proxy) as response:
+ async with session.post(f"{cls.api_endpoint}", json=data, proxy=proxy) as response:
response.raise_for_status()
full_response = []
async for line in response.content: