XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Disable PerplexityAi Provider

261fac86
Heiner Lohaus <heiner@lohaus.eu>
提交于

代码差异

2 个文件 +2 -2
Modified g4f/Provider/Aivvm.py +1 -1
@@ -47,7 +47,7 @@ class Aivvm(AsyncGeneratorProvider):
47 47 async with session.post(f"{cls.url}/api/chat", json=json_data) as response:
48 48 response.raise_for_status()
49 49 async for chunk in response.content.iter_any():
50 yield chunk.decode('utf-8')
50 yield chunk.decode()
51 51
52 52 @classmethod
53 53 @property
Modified g4f/Provider/PerplexityAi.py +1 -1
@@ -11,7 +11,7 @@ from .base_provider import AsyncProvider, format_prompt, get_cookies
11 11
12 12 class PerplexityAi(AsyncProvider):
13 13 url = "https://www.perplexity.ai"
14 working = True
14 working = False
15 15 supports_gpt_35_turbo = True
16 16 _sources = []
17 17