feat(backend): add FastAPI routes with SSE chat and reindex guard
This commit is contained in:
1 parent
99bc46f053
commit
7a0396422f
3 files changed
+555
No files matched your search
@@ -60,6 +60,9 @@ class Settings(BaseSettings):
|
||||
# Limites de ingestão
|
||||
max_pdf_bytes: int = 200 * 1024 * 1024
|
||||
|
||||
# Indexação automática na inicialização
|
||||
auto_index: bool = True
|
||||
|
||||
@property
|
||||
def ocr_cache_dir(self) -> Path:
|
||||
return self.vector_db_dir / "ocr_cache"
|
||||
|
||||
Reference in new issue
Block a user