(self, failure_mode: FailureMode)
| 627 | self.config = config |
| 628 | |
| 629 | def get_mutation_hint(self, failure_mode: FailureMode) -> str: |
| 630 | return MUTATION_HINTS.get( |
| 631 | failure_mode, |
| 632 | "Follow the instructions carefully and try again.", |
| 633 | ) |
| 634 | |
| 635 | def should_retry(self, failure_mode: FailureMode, attempt: int) -> bool: |
| 636 | if attempt >= self.config.max_attempts: |
no outgoing calls