Unverified Commit 27760fc1 authored by Lianmin Zheng's avatar Lianmin Zheng Committed by GitHub
Browse files

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


Co-authored-by: default avatargithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: default avatarKan Wu <wukanustc@gmail.com>
parent 0ac809de
...@@ -135,6 +135,9 @@ class GenerateReqInput: ...@@ -135,6 +135,9 @@ class GenerateReqInput:
# Label for the request # Label for the request
label: Optional[str] = None label: Optional[str] = None
# Priority for the request
priority: Optional[int] = None
# Image gen grpc migration # Image gen grpc migration
return_bytes: bool = False return_bytes: bool = False
...@@ -537,6 +540,7 @@ class GenerateReqInput: ...@@ -537,6 +540,7 @@ class GenerateReqInput:
), ),
conversation_id=self.conversation_id, conversation_id=self.conversation_id,
label=self.label, label=self.label,
priority=self.priority,
return_bytes=self.return_bytes, return_bytes=self.return_bytes,
) )
...@@ -595,6 +599,9 @@ class TokenizedGenerateReqInput: ...@@ -595,6 +599,9 @@ class TokenizedGenerateReqInput:
# Label for the request # Label for the request
label: Optional[str] = None label: Optional[str] = None
# Priority for the request
priority: Optional[int] = None
# Image gen grpc migration # Image gen grpc migration
return_bytes: bool = False return_bytes: bool = False
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment