mirror of https://github.com/xtekky/gpt4free.git
Update Liaobots.py
This commit is contained in:
parent
56db205111
commit
235dabf2cc
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue