66 """
67
68▶ def on_llm_error(self, error: BaseException, **kwargs: Any) -> None:
69 """Run when LLM errors.
70
· · ·
69▶ """Run when LLM errors.
70
71 Args:
· · ·
72▶ error: The error that occurred.
73 **kwargs: Additional keyword arguments.
74 """
· · ·
93 """
94
95▶ def on_chain_error(self, error: BaseException, **kwargs: Any) -> None:
96 """Run when chain errors.
97
· · ·
96▶ """Run when chain errors.
97
98 Args:
+ 4 more matches in this file