summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.md2
-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
-rw-r--r--setup.py2
6 files changed, 12 insertions, 13 deletions
diff --git a/README.md b/README.md
index eff5c847..4223b57a 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
By using this repository or any code related to it, you agree to the [legal notice](./LEGAL_NOTICE.md). The author is not responsible for any copies, forks, reuploads made by other users, or anything else related to gpt4free. This is the author's only account and repository. To prevent impersonation or irresponsible actions, please comply with the GNU GPL license this Repository uses.
-- latest pypi version: [`0.1.5.9`](https://pypi.org/project/g4f/0.1.5.9):
+- latest pypi version: [`0.1.6.1`](https://pypi.org/project/g4f/0.1.6.1):
```sh
pip install -U g4f
```
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(
diff --git a/setup.py b/setup.py
index 9dd99e49..2e83cc82 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ with open("requirements.txt") as f:
with open("etc/interference/requirements.txt") as f:
api_required = f.read().splitlines()
-VERSION = '0.1.5.9'
+VERSION = '0.1.6.1'
DESCRIPTION = (
"The official gpt4free repository | various collection of powerful language models"
)