Disable PerplexityAi Provider

This commit is contained in:
Heiner Lohaus 2023-10-01 06:41:00 +02:00
parent 98895e5b09
commit 261fac86dc
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ class Aivvm(AsyncGeneratorProvider):
async with session.post(f"{cls.url}/api/chat", json=json_data) as response:
response.raise_for_status()
async for chunk in response.content.iter_any():
yield chunk.decode('utf-8')
yield chunk.decode()
@classmethod
@property

View File

@ -11,7 +11,7 @@ from .base_provider import AsyncProvider, format_prompt, get_cookies
class PerplexityAi(AsyncProvider):
url = "https://www.perplexity.ai"
working = True
working = False
supports_gpt_35_turbo = True
_sources = []