Process a request to completion, returning the final [`Response`] and the trace of [`Decision`]s the algorithm made along the way.
(
self: Arc<Self>,
ctx: Context,
request: Request,
)
| 708 | /// [`Decision`]s the algorithm made along the way. |
| 709 | /// |
| 710 | async fn run( |
| 711 | self: Arc<Self>, |
| 712 | ctx: Context, |
| 713 | request: Request, |
| 714 | ) -> Result<(Vec<Arc<dyn Decision>>, Response)> { |
| 715 | self.run_observed(ctx, request, None).await |
| 716 | } |
| 717 | |
| 718 | /// Process a request to completion while reporting each model call to `observer`. |
| 719 | async fn run_observed( |