[Auto Sync] Update io_struct.py (20250910) (#10262)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kan Wu <wukanustc@gmail.com>
This commit is contained in:
Lianmin Zheng
2025-09-10 00:16:37 -07:00
committed by GitHub
parent 0ac809de33
commit 27760fc1b6

View File

@@ -135,6 +135,9 @@ class GenerateReqInput:
# Label for the request
label: Optional[str] = None
# Priority for the request
priority: Optional[int] = None
# Image gen grpc migration
return_bytes: bool = False
@@ -537,6 +540,7 @@ class GenerateReqInput:
),
conversation_id=self.conversation_id,
label=self.label,
priority=self.priority,
return_bytes=self.return_bytes,
)
@@ -595,6 +599,9 @@ class TokenizedGenerateReqInput:
# Label for the request
label: Optional[str] = None
# Priority for the request
priority: Optional[int] = None
# Image gen grpc migration
return_bytes: bool = False