~ | fix gpt-3.5-turbo models

This commit is contained in:
abc 2023-10-06 11:24:41 +01:00
parent f50e97810b
commit a4b5f5a6fd

View File

@ -3,6 +3,7 @@ from dataclasses import dataclass
from .typing import Union from .typing import Union
from .Provider import BaseProvider, RetryProvider from .Provider import BaseProvider, RetryProvider
from .Provider import ( from .Provider import (
AItianhuSpace,
ChatgptLogin, ChatgptLogin,
ChatgptDemo, ChatgptDemo,
ChatgptDuo, ChatgptDuo,
@ -10,7 +11,6 @@ from .Provider import (
ChatgptAi, ChatgptAi,
ChatForAi, ChatForAi,
AItianhu, AItianhu,
AItianhuSpace,
ChatBase, ChatBase,
Liaobots, Liaobots,
Yqcloud, Yqcloud,
@ -27,8 +27,7 @@ from .Provider import (
Aibn, Aibn,
Bing, Bing,
You, You,
H2o, H2o
Cromicle,
) )
@dataclass(unsafe_hash=True) @dataclass(unsafe_hash=True)
@ -64,7 +63,7 @@ gpt_35_turbo = Model(
name = 'gpt-3.5-turbo', name = 'gpt-3.5-turbo',
base_provider = 'openai', base_provider = 'openai',
best_provider = RetryProvider([ best_provider = RetryProvider([
DeepAi, ChatgptLogin, ChatgptAi, Aivvm, GptGo, AItianhu, Aichat, AItianhuSpace, Myshell, Aibn, ChatForAi, FreeGpt, Ylokh, Cromicle DeepAi, ChatgptLogin, ChatgptAi, Aivvm, GptGo, AItianhu, Aichat, AItianhuSpace, Myshell, Aibn, ChatForAi, FreeGpt, Ylokh
]) ])
) )