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

XFEstudio/gpt4free

Indicated support of message history in ChatgptX.py

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

代码差异

1 个文件 +2 -1
Modified g4f/Provider/ChatgptX.py +2 -1
@@ -12,6 +12,7 @@ from .helper import format_prompt
12 12 class ChatgptX(AsyncGeneratorProvider):
13 13 url = "https://chatgptx.de"
14 14 supports_gpt_35_turbo = True
15 supports_message_history = True
15 16 working = True
16 17
17 18 @classmethod
@@ -96,4 +97,4 @@ class ChatgptX(AsyncGeneratorProvider):
96 97 except:
97 98 raise RuntimeError(f"Broken line: {line.decode()}")
98 99 if content:
99 yield content
100 yield content