Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
Fix: correct DraftWorkflowApi.post response model (#27289)
Yongtao Huang97a2e2ec2e30
diff --git a/api/controllers/console/app/workflow.py b/api/controllers/console/app/workflow.pyindex 56771ed4201..5f41b65e880 100644--- a/api/controllers/console/app/workflow.py+++ b/api/controllers/console/app/workflow.py@@ -102,7 +102,18 @@ class DraftWorkflowApi(Resource):},))- @api.response(200, "Draft workflow synced successfully", workflow_fields)+ @api.response(+ 200,+ "Draft workflow synced successfully",+ api.model(+ "SyncDraftWorkflowResponse",+ {+ "result": fields.String,+ "hash": fields.String,+ "updated_at": fields.String,+ },+ ),+ )@api.response(400, "Invalid workflow configuration")@api.response(403, "Permission denied")@edit_permission_required