XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

~ | fix gpt-3.5-turbo models

a4b5f5a6
abc <98614666+xtekky@users.noreply.github.com>
提交于

代码差异

1 个文件 +4 -5
Modified g4f/models.py +4 -5
@@ -1,8 +1,9 @@
1 1 from __future__ import annotations
2 2 from dataclasses import dataclass
3 3 from .typing import Union
4 from .Provider import BaseProvider, RetryProvider
4 from .Provider import BaseProvider, RetryProvider
5 5 from .Provider import (
6 AItianhuSpace,
6 7 ChatgptLogin,
7 8 ChatgptDemo,
8 9 ChatgptDuo,
@@ -10,7 +11,6 @@ from .Provider import (
10 11 ChatgptAi,
11 12 ChatForAi,
12 13 AItianhu,
13 AItianhuSpace,
14 14 ChatBase,
15 15 Liaobots,
16 16 Yqcloud,
@@ -27,8 +27,7 @@ from .Provider import (
27 27 Aibn,
28 28 Bing,
29 29 You,
30 H2o,
31 Cromicle,
30 H2o
32 31 )
33 32
34 33 @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 DeepAi, ChatgptLogin, ChatgptAi, Aivvm, GptGo, AItianhu, Aichat, AItianhuSpace, Myshell, Aibn, ChatForAi, FreeGpt, Ylokh, Cromicle
66 DeepAi, ChatgptLogin, ChatgptAi, Aivvm, GptGo, AItianhu, Aichat, AItianhuSpace, Myshell, Aibn, ChatForAi, FreeGpt, Ylokh
68 67 ])
69 68 )
70 69