Skip to content

Commit

Permalink
fix: chat ui path
Browse files Browse the repository at this point in the history
  • Loading branch information
bojiang committed Jul 8, 2024
1 parent 4de6499 commit fa4f044
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/llamacpp-chat/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async def catch_all(full_path: str):
sys.modules.pop("prometheus_client")


@bentoml.mount_asgi_app(ui_app, path="/ui")
@bentoml.mount_asgi_app(ui_app, path="/chat")
@bentoml.mount_asgi_app(openai_api_app, path="/v1")
@bentoml.service(**SERVICE_CONFIG)
class LlamaCppChat:
Expand Down
2 changes: 1 addition & 1 deletion source/vllm-chat/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async def catch_all(full_path: str):


@bentoml.mount_asgi_app(openai_api_app, path="/v1")
@bentoml.mount_asgi_app(ui_app, path="/ui")
@bentoml.mount_asgi_app(ui_app, path="/chat")
@bentoml.service(**SERVICE_CONFIG)
class VLLM:
def __init__(self) -> None:
Expand Down

0 comments on commit fa4f044

Please sign in to comment.