[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:
@@ -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):
|
|||||||
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):
|
|||||||
# 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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user