Inject compact tool system prompt into the model request (async).
awrap_model_call(
self,
request: ModelRequest,
handler: Callable[[ModelRequest], Awaitable[ModelResponse]]
) -> ModelResponse| Name | Type | Description |
|---|---|---|
request* | ModelRequest | The model request to process. |
handler* | Callable[[ModelRequest], Awaitable[ModelResponse]] | The handler to call with the modified request. |