Ask a question to get started
Enter to send•Shift+Enter new line
awrap_model_call( self, request: ModelRequest[ContextT], handler: Callable[[ModelRequest[
request
ModelRequest[ContextT]
handler
Callable[[ModelRequest[ContextT]], Awaitable[ModelResponse[ResponseT]]]
Async wrap model call to inject memory into system prompt.
Model request being processed.
Async handler function to call with modified request.