From 6b30e097ab037ecb5182a0ca44007582014812a3 Mon Sep 17 00:00:00 2001 From: Lianmin Zheng Date: Sun, 5 Oct 2025 18:06:07 -0700 Subject: [PATCH] [Auto Sync] Update io_struct.py (20251004) (#11206) Co-authored-by: github-actions[bot] Co-authored-by: jzhou-xai --- python/sglang/srt/managers/io_struct.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/python/sglang/srt/managers/io_struct.py b/python/sglang/srt/managers/io_struct.py index f9c1c87cb..32733c277 100644 --- a/python/sglang/srt/managers/io_struct.py +++ b/python/sglang/srt/managers/io_struct.py @@ -166,8 +166,6 @@ class GenerateReqInput(BaseReq): # For custom metric labels custom_labels: Optional[Dict[str, str]] = None - # (Deprecated, please use custom_labels) Label for the request - label: Optional[str] = None # (Internal) Whether to return bytes for image generation return_bytes: bool = False @@ -568,7 +566,6 @@ class GenerateReqInput(BaseReq): extra_key=self.extra_key, no_logs=self.no_logs, custom_labels=self.custom_labels, - label=self.label, return_bytes=self.return_bytes, ) @@ -632,8 +629,6 @@ class TokenizedGenerateReqInput(BaseReq): # tracing context trace_context: Optional[Dict] = None - # (Deprecated, please use custom_labels) Label for the request - label: Optional[str] = None # (Internal) Whether to return bytes for image generation return_bytes: bool = False