summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Liaobots.py
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2023-11-16 21:48:26 +0100
committerGitHub <noreply@github.com>2023-11-16 21:48:26 +0100
commit8393b2bd56b601890ffc27a7c0d93ef7c189a325 (patch)
treea0c1ae03c2df4486067ea9268db16ea68c708102 /g4f/Provider/Liaobots.py
parentMerge pull request #1257 from AndPim4912/ignored-tupo (diff)
parentUpdate Liaobots.py (diff)
downloadgpt4free-8393b2bd56b601890ffc27a7c0d93ef7c189a325.tar
gpt4free-8393b2bd56b601890ffc27a7c0d93ef7c189a325.tar.gz
gpt4free-8393b2bd56b601890ffc27a7c0d93ef7c189a325.tar.bz2
gpt4free-8393b2bd56b601890ffc27a7c0d93ef7c189a325.tar.lz
gpt4free-8393b2bd56b601890ffc27a7c0d93ef7c189a325.tar.xz
gpt4free-8393b2bd56b601890ffc27a7c0d93ef7c189a325.tar.zst
gpt4free-8393b2bd56b601890ffc27a7c0d93ef7c189a325.zip
Diffstat (limited to 'g4f/Provider/Liaobots.py')
-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",