MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / __init__

Method __init__

mini_agent/retry.py:67–70  ·  view source on GitHub ↗
(self, last_exception: Exception, attempts: int)

Source from the content-addressed store, hash-verified

65 """Retry exhausted exception"""
66
67 def __init__(self, last_exception: Exception, attempts: int):
68 self.last_exception = last_exception
69 self.attempts = attempts
70 super().__init__(f"Retry failed after {attempts} attempts. Last error: {str(last_exception)}")
71
72
73def async_retry(

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected