返回提交历史
Modified
README.md
+1
-1
Modified
g4f/Provider/Aivvm.py
+1
-1
Modified
g4f/Provider/H2o.py
+1
-1
Modified
g4f/__init__.py
+1
-1
Modified
g4f/models.py
+7
-8
Modified
setup.py
+1
-1
XFEstudio/gpt4free
~ | g4f v-0.1.6.1
some bug fixes
f74ca10f
代码差异
6 个文件
+12
-13
@@ -2,7 +2,7 @@
2
2
3
3
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.
4
4
5
- latest pypi version: [`0.1.5.9`](https://pypi.org/project/g4f/0.1.5.9):
5
- latest pypi version: [`0.1.6.1`](https://pypi.org/project/g4f/0.1.6.1):
6
6
```sh
7
7
pip install -U g4f
8
8
```
@@ -20,7 +20,7 @@ models = {
20
20
class Aivvm(BaseProvider):
21
21
url = 'https://chat.aivvm.com'
22
22
supports_stream = True
23
working = True
23
working = False
24
24
supports_gpt_35_turbo = True
25
25
supports_gpt_4 = True
26
26
@@ -11,7 +11,7 @@ from .base_provider import AsyncGeneratorProvider, format_prompt
11
11
12
12
class H2o(AsyncGeneratorProvider):
13
13
url = "https://gpt-gm.h2o.ai"
14
working = True
14
working = False
15
15
model = "h2oai/h2ogpt-gm-oasst1-en-2048-falcon-40b-v1"
16
16
17
17
@classmethod
@@ -5,7 +5,7 @@ from .Provider import BaseProvider
5
5
from .typing import Messages, CreateResult, Union
6
6
from .debug import logging
7
7
8
version = '0.1.5.9'
8
version = '0.1.6.1'
9
9
version_check = True
10
10
11
11
def check_pypi_version() -> None:
@@ -27,7 +27,6 @@ from .Provider import (
27
27
Bing,
28
28
You,
29
29
H2o,
30
Aivvm
31
30
)
32
31
33
32
@dataclass(unsafe_hash=True)
@@ -64,7 +63,7 @@ gpt_35_turbo = Model(
64
63
name = 'gpt-3.5-turbo',
65
64
base_provider = 'openai',
66
65
best_provider = RetryProvider([
67
Aivvm, ChatgptLogin, ChatgptAi, GptGo, AItianhu, Aichat, AItianhuSpace, Myshell, Aibn, FreeGpt, Ylokh
66
ChatgptLogin, ChatgptAi, GptGo, AItianhu, Aichat, AItianhuSpace, Myshell, Aibn, FreeGpt, Ylokh
68
67
])
69
68
)
70
69
@@ -72,7 +71,7 @@ gpt_4 = Model(
72
71
name = 'gpt-4',
73
72
base_provider = 'openai',
74
73
best_provider = RetryProvider([
75
Aivvm, Bing
74
Bing
76
75
])
77
76
)
78
77
@@ -167,31 +166,31 @@ gpt_35_turbo_16k = Model(
167
166
gpt_35_turbo_16k_0613 = Model(
168
167
name = 'gpt-3.5-turbo-16k-0613',
169
168
base_provider = 'openai',
170
best_provider = Aivvm
169
best_provider = gpt_35_turbo.best_provider
171
170
)
172
171
173
172
gpt_35_turbo_0613 = Model(
174
173
name = 'gpt-3.5-turbo-0613',
175
174
base_provider = 'openai',
176
best_provider = Aivvm
175
best_provider = gpt_35_turbo.best_provider
177
176
)
178
177
179
178
gpt_4_0613 = Model(
180
179
name = 'gpt-4-0613',
181
180
base_provider = 'openai',
182
best_provider = Aivvm
181
best_provider = gpt_4.best_provider
183
182
)
184
183
185
184
gpt_4_32k = Model(
186
185
name = 'gpt-4-32k',
187
186
base_provider = 'openai',
188
best_provider = Aivvm
187
best_provider = gpt_4.best_provider
189
188
)
190
189
191
190
gpt_4_32k_0613 = Model(
192
191
name = 'gpt-4-32k-0613',
193
192
base_provider = 'openai',
194
best_provider = Aivvm
193
best_provider = gpt_4.best_provider
195
194
)
196
195
197
196
text_ada_001 = Model(
@@ -14,7 +14,7 @@ with open("requirements.txt") as f:
14
14
with open("etc/interference/requirements.txt") as f:
15
15
api_required = f.read().splitlines()
16
16
17
VERSION = '0.1.5.9'
17
VERSION = '0.1.6.1'
18
18
DESCRIPTION = (
19
19
"The official gpt4free repository | various collection of powerful language models"
20
20
)