fix:修改到0.6.1-2,准备开始人格2.0,知识库原始版本限时返场
This commit is contained in:
@@ -25,12 +25,19 @@ config_config = LogConfig(
|
||||
logger = get_module_logger("config", config=config_config)
|
||||
|
||||
#考虑到,实际上配置文件中的mai_version是不会自动更新的,所以采用硬编码
|
||||
is_test = True
|
||||
mai_version_main = "0.6.1"
|
||||
mai_version_fix = "snapshot-1"
|
||||
mai_version_fix = "snapshot-2"
|
||||
if mai_version_fix:
|
||||
mai_version = f"{mai_version_main}-{mai_version_fix}"
|
||||
if is_test:
|
||||
mai_version = f"test-{mai_version_main}-{mai_version_fix}"
|
||||
else:
|
||||
mai_version = f"{mai_version_main}-{mai_version_fix}"
|
||||
else:
|
||||
mai_version = mai_version_main
|
||||
if is_test:
|
||||
mai_version = f"test-{mai_version_main}"
|
||||
else:
|
||||
mai_version = mai_version_main
|
||||
|
||||
def update_config():
|
||||
# 获取根目录路径
|
||||
|
||||
Reference in New Issue
Block a user