Home / Function/ on_retry_common() — langchain Function Reference

on_retry_common() — langchain Function Reference

Architecture documentation for the on_retry_common() function in callbacks.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  44ba5e16_6d8a_1fb0_c939_336cdd7e6905["on_retry_common()"]
  f0bf147f_92f7_4127_bab5_d25b15399ce6["BaseFakeCallbackHandlerMixin"]
  44ba5e16_6d8a_1fb0_c939_336cdd7e6905 -->|defined in| f0bf147f_92f7_4127_bab5_d25b15399ce6
  7f963315_46d1_7a92_7dec_f8b104139867["on_retry()"]
  7f963315_46d1_7a92_7dec_f8b104139867 -->|calls| 44ba5e16_6d8a_1fb0_c939_336cdd7e6905
  b2842790_0d53_53d0_ba09_97448e27bcea["on_retry()"]
  b2842790_0d53_53d0_ba09_97448e27bcea -->|calls| 44ba5e16_6d8a_1fb0_c939_336cdd7e6905
  style 44ba5e16_6d8a_1fb0_c939_336cdd7e6905 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/openai/tests/unit_tests/fake/callbacks.py lines 66–67

    def on_retry_common(self) -> None:
        self.retries += 1

Domain

Subdomains

Frequently Asked Questions

What does on_retry_common() do?
on_retry_common() is a function in the langchain codebase, defined in libs/partners/openai/tests/unit_tests/fake/callbacks.py.
Where is on_retry_common() defined?
on_retry_common() is defined in libs/partners/openai/tests/unit_tests/fake/callbacks.py at line 66.
What calls on_retry_common()?
on_retry_common() is called by 2 function(s): on_retry, on_retry.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free