Merge branch 'main' into handle-stream-cancel-error

This commit is contained in:
yangdx
2025-02-05 12:27:05 +08:00
21 changed files with 489 additions and 139 deletions

View File

@@ -557,7 +557,14 @@ class DocumentManager:
def __init__(
self,
input_dir: str,
supported_extensions: tuple = (".txt", ".md", ".pdf", ".docx", ".pptx", "xlsx"),
supported_extensions: tuple = (
".txt",
".md",
".pdf",
".docx",
".pptx",
".xlsx",
),
):
self.input_dir = Path(input_dir)
self.supported_extensions = supported_extensions