on_retry() — langchain Function Reference
Architecture documentation for the on_retry() function in callbacks.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD b2842790_0d53_53d0_ba09_97448e27bcea["on_retry()"] b1da79c3_cb84_0799_b179_c8776facb43e["FakeAsyncCallbackHandler"] b2842790_0d53_53d0_ba09_97448e27bcea -->|defined in| b1da79c3_cb84_0799_b179_c8776facb43e 7f963315_46d1_7a92_7dec_f8b104139867["on_retry()"] 7f963315_46d1_7a92_7dec_f8b104139867 -->|calls| b2842790_0d53_53d0_ba09_97448e27bcea 44ba5e16_6d8a_1fb0_c939_336cdd7e6905["on_retry_common()"] b2842790_0d53_53d0_ba09_97448e27bcea -->|calls| 44ba5e16_6d8a_1fb0_c939_336cdd7e6905 7f963315_46d1_7a92_7dec_f8b104139867["on_retry()"] b2842790_0d53_53d0_ba09_97448e27bcea -->|calls| 7f963315_46d1_7a92_7dec_f8b104139867 style b2842790_0d53_53d0_ba09_97448e27bcea fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/openai/tests/unit_tests/fake/callbacks.py lines 229–230
async def on_retry(self, *args: Any, **kwargs: Any) -> Any:
self.on_retry_common()
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does on_retry() do?
on_retry() is a function in the langchain codebase, defined in libs/partners/openai/tests/unit_tests/fake/callbacks.py.
Where is on_retry() defined?
on_retry() is defined in libs/partners/openai/tests/unit_tests/fake/callbacks.py at line 229.
What does on_retry() call?
on_retry() calls 2 function(s): on_retry, on_retry_common.
What calls on_retry()?
on_retry() is called by 1 function(s): on_retry.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free