diff options
author | Heiner Lohaus <heiner@lohaus.eu> | 2023-10-01 06:41:00 +0200 |
---|---|---|
committer | Heiner Lohaus <heiner@lohaus.eu> | 2023-10-01 06:41:00 +0200 |
commit | 261fac86dcf278310d035f89f06e7f187e4ebf9c (patch) | |
tree | 1514cc07706ade8ec2ed7fb12720ceb10de53dcd /g4f/Provider/Aivvm.py | |
parent | Update HuggingChat to new api (diff) | |
download | gpt4free-261fac86dcf278310d035f89f06e7f187e4ebf9c.tar gpt4free-261fac86dcf278310d035f89f06e7f187e4ebf9c.tar.gz gpt4free-261fac86dcf278310d035f89f06e7f187e4ebf9c.tar.bz2 gpt4free-261fac86dcf278310d035f89f06e7f187e4ebf9c.tar.lz gpt4free-261fac86dcf278310d035f89f06e7f187e4ebf9c.tar.xz gpt4free-261fac86dcf278310d035f89f06e7f187e4ebf9c.tar.zst gpt4free-261fac86dcf278310d035f89f06e7f187e4ebf9c.zip |
Diffstat (limited to 'g4f/Provider/Aivvm.py')
-rw-r--r-- | g4f/Provider/Aivvm.py | 2 |
1 files changed, 1 insertions, 1 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 |