feat(backend): add FastAPI routes with SSE chat and reindex guard

This commit is contained in:
omp committed 2026-11-01 19:24:20 -03:00
1 parent 99bc46f053
commit 7a0396422f
3 files changed
+555

No files matched your search

+3
View File
@@ -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"