MCPcopy Create free account
hub / github.com/Emmimal/control-layer / get_mutation_hint

Method get_mutation_hint

control_layer.py:629–633  ·  view source on GitHub ↗
(self, failure_mode: FailureMode)

Source from the content-addressed store, hash-verified

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:

Callers 2

runMethod · 0.80

Calls

no outgoing calls

Tested by 1