Modify the model request to add cache control blocks.
wrap_model_call(
self,
request: ModelRequest,
handler: Callable[[ModelRequest], ModelResponse]
) -> ModelCallResult| Name | Type | Description |
|---|---|---|
request* | ModelRequest | The model request to potentially modify. |
handler* | Callable[[ModelRequest], ModelResponse] | The handler to execute the model request. |