diff options
Diffstat (limited to '')
-rw-r--r-- | g4f/Provider/Aivvm.py | 2 | ||||
-rw-r--r-- | g4f/Provider/PerplexityAi.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/g4f/Provider/Aivvm.py b/g4f/Provider/Aivvm.py index 02b6c2b4..5cd91546 100644 --- a/g4f/Provider/Aivvm.py +++ b/g4f/Provider/Aivvm.py @@ -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 diff --git a/g4f/Provider/PerplexityAi.py b/g4f/Provider/PerplexityAi.py index 6e95fd51..612e2d98 100644 --- a/g4f/Provider/PerplexityAi.py +++ b/g4f/Provider/PerplexityAi.py @@ -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 = [] |