diff options
author | zukixa <56563509+zukixa@users.noreply.github.com> | 2024-08-25 10:00:06 +0200 |
---|---|---|
committer | zukixa <56563509+zukixa@users.noreply.github.com> | 2024-08-25 10:00:06 +0200 |
commit | a338ed588397737d3c1be66ee4f15d51c84f1770 (patch) | |
tree | 0de45ef57733bfb8c3c38e74dddabeb697ee445a /g4f/Provider/Blackbox.py | |
parent | . (diff) | |
download | gpt4free-a338ed588397737d3c1be66ee4f15d51c84f1770.tar gpt4free-a338ed588397737d3c1be66ee4f15d51c84f1770.tar.gz gpt4free-a338ed588397737d3c1be66ee4f15d51c84f1770.tar.bz2 gpt4free-a338ed588397737d3c1be66ee4f15d51c84f1770.tar.lz gpt4free-a338ed588397737d3c1be66ee4f15d51c84f1770.tar.xz gpt4free-a338ed588397737d3c1be66ee4f15d51c84f1770.tar.zst gpt4free-a338ed588397737d3c1be66ee4f15d51c84f1770.zip |
Diffstat (limited to 'g4f/Provider/Blackbox.py')
-rw-r--r-- | g4f/Provider/Blackbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/Blackbox.py b/g4f/Provider/Blackbox.py index a86471f2..3ba7abf4 100644 --- a/g4f/Provider/Blackbox.py +++ b/g4f/Provider/Blackbox.py @@ -67,7 +67,7 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin): async with session.post( f"{cls.url}/api/chat", json=data, proxy=proxy - ) as response: # type: ClientResponse + ) as response: response.raise_for_status() async for chunk in response.content.iter_any(): if chunk: |