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