style: lint
This commit is contained in:
parent
6ebbb46c9f
commit
6ea920e7e2
@ -302,7 +302,6 @@ def get_embedding_config(embed_info: dict) -> dict:
|
|||||||
except AssertionError as e:
|
except AssertionError as e:
|
||||||
logger.error(f"AssertionError in get_embedding_config: {e}, embed_info={embed_info}")
|
logger.error(f"AssertionError in get_embedding_config: {e}, embed_info={embed_info}")
|
||||||
|
|
||||||
|
|
||||||
# 兼容性检查:旧版配置字段
|
# 兼容性检查:旧版配置字段
|
||||||
try:
|
try:
|
||||||
# 1. 检查 embed_info 是否有效
|
# 1. 检查 embed_info 是否有效
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user