diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-22 03:38:11 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-22 03:38:11 +0100 |
commit | 38dbe4b8e5ca7f9bc0508e1ba1bf878fd6d8c19c (patch) | |
tree | 6cdb82f14fcb04e9f6b339f5cab13e73a6f75d41 /g4f/Provider/deprecated | |
parent | Fix error in copilot (diff) | |
download | gpt4free-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 | ||||
-rw-r--r-- | g4f/Provider/deprecated/Berlin.py (renamed from g4f/Provider/Berlin.py) | 6 | ||||
-rw-r--r-- | g4f/Provider/deprecated/Opchatgpts.py (renamed from g4f/Provider/Opchatgpts.py) | 6 | ||||
-rw-r--r-- | g4f/Provider/deprecated/Yqcloud.py (renamed from g4f/Provider/Yqcloud.py) | 6 | ||||
-rw-r--r-- | g4f/Provider/deprecated/__init__.py | 6 |
5 files changed, 18 insertions, 16 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" diff --git a/g4f/Provider/Berlin.py b/g4f/Provider/deprecated/Berlin.py index ac376fab..5e81705a 100644 --- a/g4f/Provider/Berlin.py +++ b/g4f/Provider/deprecated/Berlin.py @@ -5,9 +5,9 @@ import uuid import json from aiohttp import ClientSession -from ..typing import AsyncResult, Messages -from .base_provider import AsyncGeneratorProvider -from .helper import format_prompt +from ...typing import AsyncResult, Messages +from ..base_provider import AsyncGeneratorProvider +from ..helper import format_prompt class Berlin(AsyncGeneratorProvider): diff --git a/g4f/Provider/Opchatgpts.py b/g4f/Provider/deprecated/Opchatgpts.py index 8c2987fa..94b1d099 100644 --- a/g4f/Provider/Opchatgpts.py +++ b/g4f/Provider/deprecated/Opchatgpts.py @@ -3,9 +3,9 @@ from __future__ import annotations import random, string, json from aiohttp import ClientSession -from ..typing import Messages, AsyncResult -from .base_provider import AsyncGeneratorProvider -from .helper import get_random_string +from ...typing import Messages, AsyncResult +from ..base_provider import AsyncGeneratorProvider +from ..helper import get_random_string class Opchatgpts(AsyncGeneratorProvider): url = "https://opchatgpts.net" diff --git a/g4f/Provider/Yqcloud.py b/g4f/Provider/deprecated/Yqcloud.py index 2829c5bf..2ec6931a 100644 --- a/g4f/Provider/Yqcloud.py +++ b/g4f/Provider/deprecated/Yqcloud.py @@ -1,10 +1,10 @@ from __future__ import annotations import random -from ..requests import StreamSession +from ...requests import StreamSession -from ..typing import AsyncResult, Messages -from .base_provider import AsyncGeneratorProvider, format_prompt +from ...typing import AsyncResult, Messages +from ..base_provider import AsyncGeneratorProvider, format_prompt class Yqcloud(AsyncGeneratorProvider): diff --git a/g4f/Provider/deprecated/__init__.py b/g4f/Provider/deprecated/__init__.py index ca5ac83e..4d7eb5da 100644 --- a/g4f/Provider/deprecated/__init__.py +++ b/g4f/Provider/deprecated/__init__.py @@ -18,4 +18,8 @@ from .Acytoo import Acytoo from .Aibn import Aibn from .Ails import Ails from .ChatgptDuo import ChatgptDuo -from .Cromicle import Cromicle
\ No newline at end of file +from .Cromicle import Cromicle +from .Opchatgpts import Opchatgpts +from .Yqcloud import Yqcloud +from .Aichat import Aichat +from .Berlin import Berlin
\ No newline at end of file |