Replace the request with a new request with the given overrides.
Returns a new ModelRequest instance with the specified attributes replaced.
This follows an immutable pattern, leaving the original request unchanged.
override(
self,
**overrides: Unpack[_ModelRequestOverrides] = {}
) -> ModelRequest[ContextT]| Name | Type | Description |
|---|---|---|
**overrides | Unpack[_ModelRequestOverrides] | Default: {}Keyword arguments for attributes to override. Supported keys:
|