summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2023-11-16 19:46:25 +0100
committerGitHub <noreply@github.com>2023-11-16 19:46:25 +0100
commit235dabf2cc56bc24dddc2fd4220d575f383796f7 (patch)
treefc477165afa9a8b8674ba5a1f9dacef30decfb05
parentUpdate MyShell.py (diff)
downloadgpt4free-235dabf2cc56bc24dddc2fd4220d575f383796f7.tar
gpt4free-235dabf2cc56bc24dddc2fd4220d575f383796f7.tar.gz
gpt4free-235dabf2cc56bc24dddc2fd4220d575f383796f7.tar.bz2
gpt4free-235dabf2cc56bc24dddc2fd4220d575f383796f7.tar.lz
gpt4free-235dabf2cc56bc24dddc2fd4220d575f383796f7.tar.xz
gpt4free-235dabf2cc56bc24dddc2fd4220d575f383796f7.tar.zst
gpt4free-235dabf2cc56bc24dddc2fd4220d575f383796f7.zip
-rw-r--r--g4f/Provider/Liaobots.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/Liaobots.py b/g4f/Provider/Liaobots.py
index b56d08ab..4acfcdac 100644
--- a/g4f/Provider/Liaobots.py
+++ b/g4f/Provider/Liaobots.py
@@ -78,7 +78,7 @@ class Liaobots(AsyncGeneratorProvider):
"model": models[model],
"messages": messages,
"key": "",
- "prompt": "You are ChatGPT, a large language model trained by OpenAI. Follow the user's instructions carefully.",
+ "prompt": kwargs.get("system_message", "You are ChatGPT, a large language model trained by OpenAI. Follow the user's instructions carefully."),
}
async with session.post(
"https://liaobots.work/api/chat",