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

XFEstudio/gpt4free

Fix typo in system_message in FlowGpt

140a1736
Heiner Lohaus <hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/Provider/FlowGpt.py +1 -1
@@ -56,7 +56,7 @@ class FlowGpt(AsyncGeneratorProvider, ProviderModelMixin):
56 56 "nsfw": False,
57 57 "question": messages[-1]["content"],
58 58 "history": [{"role": "assistant", "content": "Hello, how can I help you today?"}, *messages[:-1]],
59 "system": "You are helpful assitant. Follow the user's instructions carefully. Respond using markdown",
59 "system": kwargs.get("system_message", "You are helpful assistant. Follow the user's instructions carefully."),
60 60 "temperature": kwargs.get("temperature", 0.7),
61 61 "promptId": f"model-{model}",
62 62 "documentIds": [],