liyaoshi commited on
Commit
8e5c043
·
verified ·
1 Parent(s): ca283bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -99,6 +99,7 @@ def get_completion(message,history,system_message,max_tokens,temperature):
99
  history_openai_format.append({"role": "user", "content": human })
100
  history_openai_format.append({"role": "assistant", "content":assistant})
101
  history_openai_format.append({"role": "user", "content": content})
 
102
 
103
 
104
  # 请求头部信息
 
99
  history_openai_format.append({"role": "user", "content": human })
100
  history_openai_format.append({"role": "assistant", "content":assistant})
101
  history_openai_format.append({"role": "user", "content": content})
102
+ print(history_openai_format)
103
 
104
 
105
  # 请求头部信息