Tuchuanhuhuhu commited on
Commit
8addcbc
·
1 Parent(s): 8d36c97

feat: logging 时增加用户名,thanks @slideslide !

Browse files
Files changed (1) hide show
  1. modules/models/base_model.py +1 -1
modules/models/base_model.py CHANGED
@@ -375,7 +375,7 @@ class BaseLLMModel:
375
 
376
  status_text = "开始生成回答……"
377
  logging.info(
378
- "输入为:" + colorama.Fore.BLUE + f"{inputs}" + colorama.Style.RESET_ALL
379
  )
380
  if should_check_token_count:
381
  yield chatbot + [(inputs, "")], status_text
 
375
 
376
  status_text = "开始生成回答……"
377
  logging.info(
378
+ "用户" + f"{self.user_identifier}" + "的输入为:" + colorama.Fore.BLUE + f"{inputs}" + colorama.Style.RESET_ALL
379
  )
380
  if should_check_token_count:
381
  yield chatbot + [(inputs, "")], status_text