You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2fba245
Browse filesBrowse the repository at this point in the historyBrowse files
**request_body_limit_mib** | **int** | Maximum request-body size in MiB, including encoding and multipart overhead. Defaults to 15 MiB; must be between 1 and 1024 MiB. | [optional][default to 15]
36
37
**enable_logging** | **bool** | | [optional][default to False]
37
38
**enable_node_model_cache** | **bool** | | [optional][default to False]
38
39
**session_affinity** | **bool** | Enable best-effort sticky routing via the `X-Session-Id` request header. Requests carrying the same header value land on the same pod, improving KV cache reuse for agentic workloads. Requests without the header are routed at random. Affinity is NOT durable: scaling, rollouts, restarts, or readiness-probe transitions will remap sessions to different pods. Do not use for irreplaceable in-pod state. | [optional][default to False]
**image_pull_secret_name** | **str** | Name of a pre-existing image pull Secret in the deployment namespace. Created, refreshed and deleted externally. Mutually exclusive with inline registry credentials and image_pull_ref. Include on updates to retain it; null clears it. | [optional]
54
+
**request_body_limit_mib** | **int** | Maximum request-body size in MiB, including encoding and multipart overhead. Defaults to 15 MiB; must be between 1 and 1024 MiB. | [optional][default to 15]
54
55
**session_affinity** | **bool** | Enable best-effort sticky routing via the `X-Session-Id` request header. Requests carrying the same header value land on the same pod, improving KV cache reuse for agentic workloads. Requests without the header are routed at random. Affinity is NOT durable: scaling, rollouts, restarts, or readiness-probe transitions will remap sessions to different pods. Do not use for irreplaceable in-pod state. | [optional][default to False]
Copy file name to clipboardExpand all lines: docs/GetInferenceV3DeploymentResponse.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,7 @@ Name | Type | Description | Notes
39
39
**image_pull_ref** | **int** | | [optional]
40
40
**image_pull_secret_name** | **str** | Name of a pre-existing image pull Secret in the deployment namespace. Created, refreshed and deleted externally. Mutually exclusive with inline registry credentials and image_pull_ref. Include on updates to retain it; null clears it. | [optional]
**request_body_limit_mib** | **int** | Maximum request-body size in MiB, including encoding and multipart overhead. Defaults to 15 MiB; must be between 1 and 1024 MiB. | [optional][default to 15]
42
43
**enable_logging** | **bool** | | [optional][default to True]
43
44
**enable_node_model_cache** | **bool** | | [optional][default to False]
44
45
**session_affinity** | **bool** | Enable best-effort sticky routing via the `X-Session-Id` request header. Requests carrying the same header value land on the same pod, improving KV cache reuse for agentic workloads. Requests without the header are routed at random. Affinity is NOT durable: scaling, rollouts, restarts, or readiness-probe transitions will remap sessions to different pods. Do not use for irreplaceable in-pod state. | [optional][default to False]
Copy file name to clipboardExpand all lines: platform_api_python_client/models/create_inference_v3_deployment_request.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -61,12 +61,13 @@ class CreateInferenceV3DeploymentRequest(BaseModel):
61
61
hf_token: Optional[StrictStr] =None
62
62
env_vars_refs: Optional[Dict[str, Any]] =None
63
63
backend_protocol: Optional[BackendProtocol] =None
64
+
request_body_limit_mib: Optional[Annotated[int, Field(le=1024, strict=True, ge=1)]] =Field(default=15, description="Maximum request-body size in MiB, including encoding and multipart overhead. Defaults to 15 MiB; must be between 1 and 1024 MiB.")
session_affinity: Optional[StrictBool] =Field(default=False, description="Enable best-effort sticky routing via the `X-Session-Id` request header. Requests carrying the same header value land on the same pod, improving KV cache reuse for agentic workloads. Requests without the header are routed at random. Affinity is NOT durable: scaling, rollouts, restarts, or readiness-probe transitions will remap sessions to different pods. Do not use for irreplaceable in-pod state.")
image_pull_secret_name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=253)]] =Field(default=None, description="Name of a pre-existing image pull Secret in the deployment namespace. Created, refreshed and deleted externally. Mutually exclusive with inline registry credentials and image_pull_ref. Include on updates to retain it; null clears it.")
72
72
backend_protocol: Optional[BackendProtocol] =None
73
+
request_body_limit_mib: Optional[Annotated[int, Field(le=1024, strict=True, ge=1)]] =Field(default=15, description="Maximum request-body size in MiB, including encoding and multipart overhead. Defaults to 15 MiB; must be between 1 and 1024 MiB.")
session_affinity: Optional[StrictBool] =Field(default=False, description="Enable best-effort sticky routing via the `X-Session-Id` request header. Requests carrying the same header value land on the same pod, improving KV cache reuse for agentic workloads. Requests without the header are routed at random. Affinity is NOT durable: scaling, rollouts, restarts, or readiness-probe transitions will remap sessions to different pods. Do not use for irreplaceable in-pod state.")
0 commit comments