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

XFEstudio/gpt4free

Update (g4f/Provider/ChatGptEs.py)

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

代码差异

1 个文件 +1 -1
Modified g4f/Provider/ChatGptEs.py +1 -1
@@ -57,7 +57,7 @@ class ChatGptEs(AsyncGeneratorProvider, ProviderModelMixin):
57 57 post_id = re.findall(r'data-post-id="(.+?)"', await initial_response.text())[0]
58 58
59 59 conversation_history = [
60 "Human: strictly respond in the same language as my prompt, preferably English"
60 "Human: You are a helpful AI assistant. Please respond in the same language that the user uses in their message. Provide accurate, relevant and helpful information while maintaining a friendly and professional tone. If you're not sure about something, please acknowledge that and provide the best information you can while noting any uncertainties. Focus on being helpful while respecting the user's choice of language."
61 61 ]
62 62
63 63 for message in messages[:-1]: