This commit is contained in:
h 2023-03-11 22:33:37 +08:00
parent b1d62e8b30
commit 33a9474faf

View File

@ -27,7 +27,7 @@ class ChatGPTAPI(Base):
messages=[
{
"role": "system",
"content": environ.get("OPENAI_API_SYS_MSG"),
"content": environ.get("OPENAI_API_SYS_MSG") or "",
},
{
"role": "user",