Merge branch 'main' into dev

This commit is contained in:
Timothy Jaeryang Baek authored and GitHub committed 2024-11-11 13:45:13 -08:00
commit 61f29a6531
7 files changed
+21 -11

No files matched your search

+1 -1
View File
@@ -127,7 +127,7 @@ from langchain_core.documents import Document
log = logging.getLogger(__name__)
log.setLevel(SRC_LOG_LEVELS["RAG"])
app = FastAPI()
app = FastAPI(docs_url="/docs" if ENV == "dev" else None, openapi_url="/openapi.json" if ENV == "dev" else None, redoc_url=None)
app.state.config = AppConfig()