Skip to content

Commit fa4f044

Browse files
committed
fix: chat ui path
1 parent 4de6499 commit fa4f044

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/llamacpp-chat/service.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ async def catch_all(full_path: str):
7272
sys.modules.pop("prometheus_client")
7373

7474

75-
@bentoml.mount_asgi_app(ui_app, path="/ui")
75+
@bentoml.mount_asgi_app(ui_app, path="/chat")
7676
@bentoml.mount_asgi_app(openai_api_app, path="/v1")
7777
@bentoml.service(**SERVICE_CONFIG)
7878
class LlamaCppChat:

source/vllm-chat/service.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async def catch_all(full_path: str):
8585

8686

8787
@bentoml.mount_asgi_app(openai_api_app, path="/v1")
88-
@bentoml.mount_asgi_app(ui_app, path="/ui")
88+
@bentoml.mount_asgi_app(ui_app, path="/chat")
8989
@bentoml.service(**SERVICE_CONFIG)
9090
class VLLM:
9191
def __init__(self) -> None:

0 commit comments

Comments
 (0)