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