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