Update the system message to include the todo system prompt.
wrap_model_call(
self,
request: ModelRequest[ContextT],
handler: Callable[[ModelRequest[ContextT]], ModelResponse[ResponseT]]
) -> ModelResponse[ResponseT] | AIMessage| Name | Type | Description |
|---|---|---|
request* | ModelRequest[ContextT] | Model request to execute (includes state and runtime). |
handler* | Callable[[ModelRequest[ContextT]], ModelResponse[ResponseT]] | Async callback that executes the model request and returns
|