mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-05 19:15:34 +00:00
fix
This commit is contained in:
parent
b1d62e8b30
commit
33a9474faf
@ -27,7 +27,7 @@ class ChatGPTAPI(Base):
|
|||||||
messages=[
|
messages=[
|
||||||
{
|
{
|
||||||
"role": "system",
|
"role": "system",
|
||||||
"content": environ.get("OPENAI_API_SYS_MSG"),
|
"content": environ.get("OPENAI_API_SYS_MSG") or "",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"role": "user",
|
"role": "user",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user