fix(workflow): fix improper merge of execution flows caused by multi-branch routing

This commit is contained in:
Eternity
2026-01-21 11:09:48 +08:00
parent afed5e10fc
commit 8aa496f588
7 changed files with 301 additions and 182 deletions

View File

@@ -7,7 +7,7 @@ from sqlalchemy.orm import Session
from app.core.error_codes import BizCode
from app.core.logging_config import get_business_logger
from app.core.response_utils import success
from app.core.response_utils import success, fail
from app.db import get_db
from app.dependencies import get_current_user, cur_workspace_access_guard
from app.models import User
@@ -661,6 +661,11 @@ async def draft_run(
data=result,
msg="工作流任务执行成功"
)
else:
return fail(
msg="未知应用类型",
code=422
)
@router.post("/{app_id}/draft/run/compare", summary="多模型对比试运行")