[Feature] Add offline FastAPI documentation support for air-gapped environments (#30184)

Signed-off-by: rickychen-infinirc <ricky.chen@infinirc.com>
Signed-off-by: RickyChen / 陳昭儒 <ricky.chen@infinirc.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
RickyChen / 陳昭儒
2025-12-29 16:22:39 +00:00
committed by GitHub
co-authored by Harry Mellor
parent e37e7349e6
commit b3a2bdf1ac
8 changed files with 72 additions and 3 deletions
+5
View File
@@ -194,6 +194,11 @@ class FrontendArgs:
If set to True, only enable the Tokens In<>Out endpoint.
This is intended for use in a Disaggregated Everything setup.
"""
enable_offline_docs: bool = False
"""
Enable offline FastAPI documentation for air-gapped environments.
Uses vendored static assets bundled with vLLM.
"""
@staticmethod
def add_cli_args(parser: FlexibleArgumentParser) -> FlexibleArgumentParser: