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