Unverified Commit 6b30e097 authored by Lianmin Zheng's avatar Lianmin Zheng Committed by GitHub
Browse files

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


Co-authored-by: default avatargithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: default avatarjzhou-xai <jzhou@x.ai>
parent d645ae90
...@@ -166,8 +166,6 @@ class GenerateReqInput(BaseReq): ...@@ -166,8 +166,6 @@ class GenerateReqInput(BaseReq):
# For custom metric labels # For custom metric labels
custom_labels: Optional[Dict[str, str]] = None 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 # (Internal) Whether to return bytes for image generation
return_bytes: bool = False return_bytes: bool = False
...@@ -568,7 +566,6 @@ class GenerateReqInput(BaseReq): ...@@ -568,7 +566,6 @@ class GenerateReqInput(BaseReq):
extra_key=self.extra_key, extra_key=self.extra_key,
no_logs=self.no_logs, no_logs=self.no_logs,
custom_labels=self.custom_labels, custom_labels=self.custom_labels,
label=self.label,
return_bytes=self.return_bytes, return_bytes=self.return_bytes,
) )
...@@ -632,8 +629,6 @@ class TokenizedGenerateReqInput(BaseReq): ...@@ -632,8 +629,6 @@ class TokenizedGenerateReqInput(BaseReq):
# tracing context # tracing context
trace_context: Optional[Dict] = None 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 # (Internal) Whether to return bytes for image generation
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