镜像自地址
https://github.com/binary-husky/gpt_academic.git
已同步 2025-12-06 06:26:47 +00:00
remove logging extra
这个提交包含在:
@@ -11,7 +11,7 @@ def not_chat_log_filter(record):
|
|||||||
|
|
||||||
def formatter_with_clip(record):
|
def formatter_with_clip(record):
|
||||||
# Note this function returns the string to be formatted, not the actual message to be logged
|
# Note this function returns the string to be formatted, not the actual message to be logged
|
||||||
record["extra"]["serialized"] = "555555"
|
# record["extra"]["serialized"] = "555555"
|
||||||
max_len = 12
|
max_len = 12
|
||||||
record['function_x'] = record['function'].center(max_len)
|
record['function_x'] = record['function'].center(max_len)
|
||||||
if len(record['function_x']) > max_len:
|
if len(record['function_x']) > max_len:
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户