mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-05 19:15:34 +00:00
fix (#149)
This commit is contained in:
parent
b1d62e8b30
commit
1c3fe7e55d
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user