fix/ci-deploy-reset #20
@@ -37,6 +37,10 @@ class KBSettings(BaseSettings):
|
||||
# 必需配置
|
||||
base_path: str = Field(..., description="知识库根目录")
|
||||
archive_path: str = Field(..., description="归档目录")
|
||||
intermediate_path: str = Field(
|
||||
default_factory=lambda: str(Path.home() / "work" / "intermediate" / "analysis"),
|
||||
description="中间文件存储目录"
|
||||
)
|
||||
|
||||
# 可选配置
|
||||
git_root: str = Field(default="", description="Git 仓库根目录")
|
||||
|
||||
Reference in New Issue
Block a user