[Frontend] Consolidate entrypoint exception handler (#52261)

Signed-off-by: wang.yuqi <yuqi.wang@daocloud.io>
This commit is contained in:
wang.yuqi
2026-08-14 09:27:24 +00:00
committed by GitHub
parent 103c419f04
commit b8165e5e58
31 changed files with 418 additions and 343 deletions
+8
View File
@@ -5,8 +5,16 @@ from fastapi import FastAPI
from vllm.logger import init_logger
from .exception_handling.error_response import create_error_response
logger = init_logger(__name__)
__all__ = [
"create_error_response",
"register_vllm_serve_api_routers",
"register_vllm_dev_api_routers",
]
def register_vllm_serve_api_routers(app: FastAPI):
from .instrumentator import register_instrumentator_api_routers