修复ChatGPT无法使用相同会话的bug
修复ChatGPT无法使用相同会话的bug
This commit is contained in:
parent
023df4deb1
commit
81bb80c638
@ -20,8 +20,11 @@ def question(cont):
|
|||||||
try:
|
try:
|
||||||
chatbot = Chatbot(config={
|
chatbot = Chatbot(config={
|
||||||
"access_token": cfg.key_gpt_access_token,
|
"access_token": cfg.key_gpt_access_token,
|
||||||
"conversation_id": cfg.key_gpt_conversation_id
|
"paid": False,
|
||||||
})
|
"collect_analytics": True,
|
||||||
|
"conversation_id":cfg.key_gpt_conversation_id
|
||||||
|
},conversation_id=cfg.key_gpt_conversation_id,
|
||||||
|
parent_id=None)
|
||||||
|
|
||||||
prompt = text + ' 现在想咨询的问题是:'+cont
|
prompt = text + ' 现在想咨询的问题是:'+cont
|
||||||
response = ""
|
response = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user