25 """Mixin for `Retriever` callbacks."""
26
27▶ def on_retriever_error(
28 self,
29 error: BaseException,
· · ·
29▶ error: BaseException,
30 *,
31 run_id: UUID,
· · ·
33 **kwargs: Any,
34 ) -> Any:
35▶ """Run when `Retriever` errors.
36
37 Args:
· · ·
38▶ error: The error that occurred.
39 run_id: The ID of the current run.
40 parent_run_id: The ID of the parent run.
· · ·
107 """
108
109▶ def on_llm_error(
110 self,
111 error: BaseException,
+ 40 more matches in this file