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

XFEstudio/gpt4free

Update (g4f/Provider/Liaobots.py)

24f80c51
kqlio67 <kqlio67@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -10
Modified g4f/Provider/Liaobots.py +1 -10
@@ -9,15 +9,6 @@ from .helper import get_connector
9 9 from ..requests import raise_for_status
10 10
11 11 models = {
12 "gpt-3.5-turbo": {
13 "id": "gpt-3.5-turbo",
14 "name": "GPT-3.5-Turbo",
15 "model": "ChatGPT",
16 "provider": "OpenAI",
17 "maxLength": 48000,
18 "tokenLimit": 14000,
19 "context": "16K",
20 },
21 12 "gpt-4o-mini-free": {
22 13 "id": "gpt-4o-mini-free",
23 14 "name": "GPT-4o-Mini-Free",
@@ -179,7 +170,7 @@ class Liaobots(AsyncGeneratorProvider, ProviderModelMixin):
179 170 working = True
180 171 supports_message_history = True
181 172 supports_system_message = True
182 default_model = "gpt-3.5-turbo"
173 default_model = "gpt-4o-2024-08-06"
183 174 models = list(models.keys())
184 175
185 176 model_aliases = {