script_engine/wwwroot/api/validate_script.dspy

5 lines
150 B
Plaintext

content = params_kw.get('content')
script_type = params_kw.get('script_type', '0')
result = await validate_script(content, script_type)
return result