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

XFEstudio/gpt4free

Indicated support of message history in ChatBase.py

e93887af
Luneye <73485421+Luneye@users.noreply.github.com>
提交于

代码差异

1 个文件 +2 -1
Modified g4f/Provider/ChatBase.py +2 -1
@@ -9,6 +9,7 @@ from .base_provider import AsyncGeneratorProvider
9 9 class ChatBase(AsyncGeneratorProvider):
10 10 url = "https://www.chatbase.co"
11 11 supports_gpt_35_turbo = True
12 supports_message_history = True
12 13 working = True
13 14
14 15 @classmethod
@@ -53,4 +54,4 @@ class ChatBase(AsyncGeneratorProvider):
53 54 ("stream", "bool"),
54 55 ]
55 56 param = ", ".join([": ".join(p) for p in params])
56 return f"g4f.provider.{cls.__name__} supports: ({param})"
57 return f"g4f.provider.{cls.__name__} supports: ({param})"