summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/ChatGptEs.py
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2024-11-15 11:18:56 +0100
committerGitHub <noreply@github.com>2024-11-15 11:18:56 +0100
commitf65ebd98518bc42bd83a9205f3eab9cb06de566a (patch)
tree82ceabb9503acd0e1301b6eb7e20493cc18f3672 /g4f/Provider/ChatGptEs.py
parentFIX: fix the url in the markdown output (md compliance), and the chunk/ImageResponse to str ! (#2353) (diff)
parentquick fix for Conflicts (diff)
downloadgpt4free-f65ebd98518bc42bd83a9205f3eab9cb06de566a.tar
gpt4free-f65ebd98518bc42bd83a9205f3eab9cb06de566a.tar.gz
gpt4free-f65ebd98518bc42bd83a9205f3eab9cb06de566a.tar.bz2
gpt4free-f65ebd98518bc42bd83a9205f3eab9cb06de566a.tar.lz
gpt4free-f65ebd98518bc42bd83a9205f3eab9cb06de566a.tar.xz
gpt4free-f65ebd98518bc42bd83a9205f3eab9cb06de566a.tar.zst
gpt4free-f65ebd98518bc42bd83a9205f3eab9cb06de566a.zip
Diffstat (limited to 'g4f/Provider/ChatGptEs.py')
-rw-r--r--g4f/Provider/ChatGptEs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/ChatGptEs.py b/g4f/Provider/ChatGptEs.py
index a060ecb1..788ffcd9 100644
--- a/g4f/Provider/ChatGptEs.py
+++ b/g4f/Provider/ChatGptEs.py
@@ -57,7 +57,7 @@ class ChatGptEs(AsyncGeneratorProvider, ProviderModelMixin):
post_id = re.findall(r'data-post-id="(.+?)"', await initial_response.text())[0]
conversation_history = [
- "Human: strictly respond in the same language as my prompt, preferably English"
+ "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."
]
for message in messages[:-1]: