cli updates oct27 (#12436)

This commit is contained in:
Erick Friis
2023-10-27 12:06:46 -07:00
committed by GitHub
parent 3fd9f2752f
commit 6908634428
8 changed files with 46 additions and 42 deletions

View File

@@ -9,4 +9,4 @@ add_routes(app, NotImplemented)
if __name__ == "__main__":
import uvicorn
uvicorn.run(app, host="0.0.0.0", port=8001)
uvicorn.run(app, host="0.0.0.0", port=8000)

View File

@@ -14,17 +14,9 @@ fastapi = "^0.103.2"
langserve = ">=0.0.16"
[tool.poetry.group.dev.dependencies]
poethepoet = "^0.24.1"
uvicorn = "^0.23.2"
pygithub = "^2.1.1"
[tool.poe.tasks.start]
cmd="uvicorn app.server:app --reload --port $port --host $host"
args = [
{name = "port", help = "port to run on", default = "8000"},
{name = "host", help = "host to run on", default = "127.0.0.1"}
]
[build-system]
requires = ["poetry-core"]