Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Improve invalid prompt error message

space-nukoc33b7c5549b7
diff --git a/execution.py b/execution.py
index 691beb102..66753ff90 100644
--- a/execution.py
+++ b/execution.py
@@ -554,8 +554,8 @@ def validate_prompt(prompt):
errors_list = "\n".join(errors_list)
error = {
- "type": "prompt_no_good_outputs",
- "message": "Prompt has no properly connected outputs",
+ "type": "prompt_outputs_failed_validation",
+ "message": "Prompt outputs failed validation",
"details": errors_list,
"extra_info": {}
}