summaryrefslogtreecommitdiffstats
path: root/g4f/Provider
diff options
context:
space:
mode:
authorHeiner Lohaus <heiner@lohaus.eu>2023-10-07 19:10:26 +0200
committerHeiner Lohaus <heiner@lohaus.eu>2023-10-07 19:10:26 +0200
commit3430b04f870d982d7fba34e3b9d6e5cf3bd3b847 (patch)
tree0756a28c14a8796c37dd8eee30539ef6aa388ddd /g4f/Provider
parentImprove code with ai (diff)
downloadgpt4free-3430b04f870d982d7fba34e3b9d6e5cf3bd3b847.tar
gpt4free-3430b04f870d982d7fba34e3b9d6e5cf3bd3b847.tar.gz
gpt4free-3430b04f870d982d7fba34e3b9d6e5cf3bd3b847.tar.bz2
gpt4free-3430b04f870d982d7fba34e3b9d6e5cf3bd3b847.tar.lz
gpt4free-3430b04f870d982d7fba34e3b9d6e5cf3bd3b847.tar.xz
gpt4free-3430b04f870d982d7fba34e3b9d6e5cf3bd3b847.tar.zst
gpt4free-3430b04f870d982d7fba34e3b9d6e5cf3bd3b847.zip
Diffstat (limited to 'g4f/Provider')
-rw-r--r--g4f/Provider/__init__.py1
-rw-r--r--g4f/Provider/deprecated/Aivvm.py (renamed from g4f/Provider/Aivvm.py)8
-rw-r--r--g4f/Provider/deprecated/__init__.py3
3 files changed, 5 insertions, 7 deletions
diff --git a/g4f/Provider/__init__.py b/g4f/Provider/__init__.py
index 697f6185..7609744e 100644
--- a/g4f/Provider/__init__.py
+++ b/g4f/Provider/__init__.py
@@ -6,7 +6,6 @@ from .Aichat import Aichat
from .Ails import Ails
from .AItianhu import AItianhu
from .AItianhuSpace import AItianhuSpace
-from .Aivvm import Aivvm
from .Bing import Bing
from .ChatBase import ChatBase
from .ChatForAi import ChatForAi
diff --git a/g4f/Provider/Aivvm.py b/g4f/Provider/deprecated/Aivvm.py
index 1e780953..bceb6faf 100644
--- a/g4f/Provider/Aivvm.py
+++ b/g4f/Provider/deprecated/Aivvm.py
@@ -1,8 +1,8 @@
from __future__ import annotations
-from ..requests import StreamSession
-from .base_provider import AsyncGeneratorProvider
-from ..typing import AsyncGenerator
+from ...requests import StreamSession
+from ..base_provider import AsyncGeneratorProvider
+from ...typing import AsyncGenerator
# to recreate this easily, send a post request to https://chat.aivvm.com/api/models
models = {
@@ -18,8 +18,6 @@ models = {
class Aivvm(AsyncGeneratorProvider):
url = 'https://chat.aivvm.com'
- supports_stream = True
- working = True
supports_gpt_35_turbo = True
supports_gpt_4 = True
diff --git a/g4f/Provider/deprecated/__init__.py b/g4f/Provider/deprecated/__init__.py
index 5c66c87f..d6b93e8d 100644
--- a/g4f/Provider/deprecated/__init__.py
+++ b/g4f/Provider/deprecated/__init__.py
@@ -11,4 +11,5 @@ from .Equing import Equing
from .Wuguokai import Wuguokai
from .V50 import V50
from .FastGpt import FastGpt
-from .ChatgptLogin import ChatgptLogin \ No newline at end of file
+from .ChatgptLogin import ChatgptLogin
+from .Aivvm import Aivvm \ No newline at end of file