MCPcopy
hub / github.com/OpenBMB/VoxCPM / validate_clone_args

Function validate_clone_args

src/voxcpm/cli.py:146–156  ·  view source on GitHub ↗
(args, parser)

Source from the content-addressed store, hash-verified

144
145
146def validate_clone_args(args, parser):
147 prompt_text = resolve_prompt_text(args, parser)
148 validate_prompt_related_args(args, parser, prompt_text)
149 validate_reference_support(args, parser)
150
151 if not args.prompt_audio and not args.reference_audio:
152 parser.error(
153 "`clone` requires --reference-audio, or --prompt-audio with --prompt-text/--prompt-file."
154 )
155
156 return prompt_text
157
158
159def validate_batch_args(args, parser):

Callers 1

cmd_cloneFunction · 0.85

Calls 3

resolve_prompt_textFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…