MCPcopy Create free account
hub / github.com/datmo/datmo / prompt_validator

Method prompt_validator

datmo/cli/driver/helper.py:110–124  ·  view source on GitHub ↗
(self,
                         msg,
                         validate_function,
                         tries=5,
                         error_message="Invalid input")

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

dummyMethod · 0.80
test_prompt_validatorMethod · 0.80

Calls 2

echoMethod · 0.95
ArgumentErrorClass · 0.90

Tested by 2

dummyMethod · 0.64
test_prompt_validatorMethod · 0.64