From dc7e597363fa70974360dd61d51b7e15526ec4af Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Mon, 13 Nov 2023 13:29:07 -0800 Subject: [PATCH] IMPROVEMENT default docs url root --- libs/cli/langchain_cli/project_template/app/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/cli/langchain_cli/project_template/app/server.py b/libs/cli/langchain_cli/project_template/app/server.py index 7347b804585..0b42f5e07b8 100644 --- a/libs/cli/langchain_cli/project_template/app/server.py +++ b/libs/cli/langchain_cli/project_template/app/server.py @@ -1,7 +1,7 @@ from fastapi import FastAPI from langserve import add_routes -app = FastAPI() +app = FastAPI(docs_url="/") # Edit this to add the chain you want to add add_routes(app, NotImplemented)