finish test

This commit is contained in:
binary-husky
2024-07-12 04:19:07 +00:00
parent ca7de8fcdd
commit 68838da8ad
4 changed files with 314 additions and 5 deletions

View File

@@ -496,10 +496,10 @@ def generate_payload(inputs:str, llm_kwargs:dict, history:list, system_prompt:st
"n": 1,
"stream": stream,
}
try:
print(f" {llm_kwargs['llm_model']} : {conversation_cnt} : {inputs[:100]} ..........")
except:
print('输入中可能存在乱码。')
# try:
# print(f" {llm_kwargs['llm_model']} : {conversation_cnt} : {inputs[:100]} ..........")
# except:
# print('输入中可能存在乱码。')
return headers,payload