summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-05-07 07:33:22 +0200
committerGitHub <noreply@github.com>2024-05-07 07:33:22 +0200
commita9672bead0ab21dfbd749d1373643e32eb997045 (patch)
tree92b9d0ae2228d0a08fd3aaf844e39f35b92b4c85 /g4f
parentUpdate __init__.py (diff)
downloadgpt4free-a9672bead0ab21dfbd749d1373643e32eb997045.tar
gpt4free-a9672bead0ab21dfbd749d1373643e32eb997045.tar.gz
gpt4free-a9672bead0ab21dfbd749d1373643e32eb997045.tar.bz2
gpt4free-a9672bead0ab21dfbd749d1373643e32eb997045.tar.lz
gpt4free-a9672bead0ab21dfbd749d1373643e32eb997045.tar.xz
gpt4free-a9672bead0ab21dfbd749d1373643e32eb997045.tar.zst
gpt4free-a9672bead0ab21dfbd749d1373643e32eb997045.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/Bing.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/g4f/Provider/Bing.py b/g4f/Provider/Bing.py
index 7e64a617..046c05c1 100644
--- a/g4f/Provider/Bing.py
+++ b/g4f/Provider/Bing.py
@@ -11,7 +11,8 @@ from datetime import datetime, date
from ..typing import AsyncResult, Messages, ImageType, Cookies
from ..image import ImageRequest
from ..errors import ResponseError, ResponseStatusError, RateLimitError
-from ..requests import StreamSession, DEFAULT_HEADERS
+from ..requests import DEFAULT_HEADERS
+from ..requests.aiohttp import StreamSession
from .base_provider import AsyncGeneratorProvider, ProviderModelMixin
from .helper import get_random_hex
from .bing.upload_image import upload_image