[Auto Sync] Update io_struct.py (20251004) (#11206)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: jzhou-xai <jzhou@x.ai>
This commit is contained in:
Lianmin Zheng
2025-10-05 18:06:07 -07:00
committed by GitHub
parent d645ae90a3
commit 6b30e097ab

View File

@@ -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