summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorabc <98614666+xtekky@users.noreply.github.com>2023-10-11 19:56:53 +0200
committerabc <98614666+xtekky@users.noreply.github.com>2023-10-11 19:56:53 +0200
commitf74ca10fbdf2b565b654a3d54583194d32649bcf (patch)
treeca0187f2d1fd111c3b5ceb415877c3a5332a7b5f /g4f
parent~ | Merge pull request #1047 from krishvsoni/krishvsoni-patch-1 (diff)
downloadgpt4free-f74ca10fbdf2b565b654a3d54583194d32649bcf.tar
gpt4free-f74ca10fbdf2b565b654a3d54583194d32649bcf.tar.gz
gpt4free-f74ca10fbdf2b565b654a3d54583194d32649bcf.tar.bz2
gpt4free-f74ca10fbdf2b565b654a3d54583194d32649bcf.tar.lz
gpt4free-f74ca10fbdf2b565b654a3d54583194d32649bcf.tar.xz
gpt4free-f74ca10fbdf2b565b654a3d54583194d32649bcf.tar.zst
gpt4free-f74ca10fbdf2b565b654a3d54583194d32649bcf.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/Aivvm.py2
-rw-r--r--g4f/Provider/H2o.py2
-rw-r--r--g4f/__init__.py2
-rw-r--r--g4f/models.py15
4 files changed, 10 insertions, 11 deletions
diff --git a/g4f/Provider/Aivvm.py b/g4f/Provider/Aivvm.py
index a9eede67..214eb638 100644
--- a/g4f/Provider/Aivvm.py
+++ b/g4f/Provider/Aivvm.py
@@ -20,7 +20,7 @@ models = {
class Aivvm(BaseProvider):
url = 'https://chat.aivvm.com'
supports_stream = True
- working = True
+ working = False
supports_gpt_35_turbo = True
supports_gpt_4 = True
diff --git a/g4f/Provider/H2o.py b/g4f/Provider/H2o.py
index 65429a28..9fac92a4 100644
--- a/g4f/Provider/H2o.py
+++ b/g4f/Provider/H2o.py
@@ -11,7 +11,7 @@ from .base_provider import AsyncGeneratorProvider, format_prompt
class H2o(AsyncGeneratorProvider):
url = "https://gpt-gm.h2o.ai"
- working = True
+ working = False
model = "h2oai/h2ogpt-gm-oasst1-en-2048-falcon-40b-v1"
@classmethod
diff --git a/g4f/__init__.py b/g4f/__init__.py
index 47235346..b7467fb5 100644
--- a/g4f/__init__.py
+++ b/g4f/__init__.py
@@ -5,7 +5,7 @@ from .Provider import BaseProvider
from .typing import Messages, CreateResult, Union
from .debug import logging
-version = '0.1.5.9'
+version = '0.1.6.1'
version_check = True
def check_pypi_version() -> None:
diff --git a/g4f/models.py b/g4f/models.py
index 08fe36b0..73e7e481 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -27,7 +27,6 @@ from .Provider import (
Bing,
You,
H2o,
- Aivvm
)
@dataclass(unsafe_hash=True)
@@ -64,7 +63,7 @@ gpt_35_turbo = Model(
name = 'gpt-3.5-turbo',
base_provider = 'openai',
best_provider = RetryProvider([
- Aivvm, ChatgptLogin, ChatgptAi, GptGo, AItianhu, Aichat, AItianhuSpace, Myshell, Aibn, FreeGpt, Ylokh
+ ChatgptLogin, ChatgptAi, GptGo, AItianhu, Aichat, AItianhuSpace, Myshell, Aibn, FreeGpt, Ylokh
])
)
@@ -72,7 +71,7 @@ gpt_4 = Model(
name = 'gpt-4',
base_provider = 'openai',
best_provider = RetryProvider([
- Aivvm, Bing
+ Bing
])
)
@@ -167,31 +166,31 @@ gpt_35_turbo_16k = Model(
gpt_35_turbo_16k_0613 = Model(
name = 'gpt-3.5-turbo-16k-0613',
base_provider = 'openai',
- best_provider = Aivvm
+ best_provider = gpt_35_turbo.best_provider
)
gpt_35_turbo_0613 = Model(
name = 'gpt-3.5-turbo-0613',
base_provider = 'openai',
- best_provider = Aivvm
+ best_provider = gpt_35_turbo.best_provider
)
gpt_4_0613 = Model(
name = 'gpt-4-0613',
base_provider = 'openai',
- best_provider = Aivvm
+ best_provider = gpt_4.best_provider
)
gpt_4_32k = Model(
name = 'gpt-4-32k',
base_provider = 'openai',
- best_provider = Aivvm
+ best_provider = gpt_4.best_provider
)
gpt_4_32k_0613 = Model(
name = 'gpt-4-32k-0613',
base_provider = 'openai',
- best_provider = Aivvm
+ best_provider = gpt_4.best_provider
)
text_ada_001 = Model(