summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/deprecated/Aichat.py
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-01-22 03:38:11 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-01-22 03:38:11 +0100
commit38dbe4b8e5ca7f9bc0508e1ba1bf878fd6d8c19c (patch)
tree6cdb82f14fcb04e9f6b339f5cab13e73a6f75d41 /g4f/Provider/deprecated/Aichat.py
parentFix error in copilot (diff)
downloadgpt4free-38dbe4b8e5ca7f9bc0508e1ba1bf878fd6d8c19c.tar
gpt4free-38dbe4b8e5ca7f9bc0508e1ba1bf878fd6d8c19c.tar.gz
gpt4free-38dbe4b8e5ca7f9bc0508e1ba1bf878fd6d8c19c.tar.bz2
gpt4free-38dbe4b8e5ca7f9bc0508e1ba1bf878fd6d8c19c.tar.lz
gpt4free-38dbe4b8e5ca7f9bc0508e1ba1bf878fd6d8c19c.tar.xz
gpt4free-38dbe4b8e5ca7f9bc0508e1ba1bf878fd6d8c19c.tar.zst
gpt4free-38dbe4b8e5ca7f9bc0508e1ba1bf878fd6d8c19c.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/deprecated/Aichat.py (renamed from g4f/Provider/Aichat.py)10
1 files changed, 4 insertions, 6 deletions
diff --git a/g4f/Provider/Aichat.py b/g4f/Provider/deprecated/Aichat.py
index 41ea9a96..68c9c546 100644
--- a/g4f/Provider/Aichat.py
+++ b/g4f/Provider/deprecated/Aichat.py
@@ -1,11 +1,9 @@
from __future__ import annotations
-from aiohttp import ClientSession
-
-from ..typing import Messages
-from .base_provider import AsyncProvider, format_prompt
-from .helper import get_cookies
-from ..requests import StreamSession
+from ...typing import Messages
+from ..base_provider import AsyncProvider, format_prompt
+from ..helper import get_cookies
+from ...requests import StreamSession
class Aichat(AsyncProvider):
url = "https://chat-gpt.org/chat"