This commit is contained in:
hleft 2023-03-11 22:40:58 +08:00 committed by GitHub
parent b1d62e8b30
commit 1c3fe7e55d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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",