Merge branch 'main' into dev

This commit is contained in:
Timothy Jaeryang Baek
2024-11-11 13:45:13 -08:00
committed by GitHub
7 changed files with 21 additions and 11 deletions
+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()