Merge branch 'dev' into runny827

feat(training): 新增精益培训视频与周任务管理

# Conflicts:
#	backend/app/models/__init__.py
This commit is contained in:
runny committed 2026-09-08 18:30:09 +08:00
1 parent 85d27e9ffa
commit 91b7233872
812 files changed
+73763 -18908

No files matched your search

@@ -51,7 +51,7 @@ def _post_op(
"200": {
"description": (
"Tool response (status: ok|running|needs_human|failed). "
"May include checkpoint; business buttons are exposed only by ui_state.actions."
"May include position; business buttons are exposed only by ui_state.actions."
),
"content": {
"application/json": {
@@ -86,7 +86,7 @@ def build_dify_openapi_spec(base_url: str) -> dict[str, Any]:
"paths": {
"/tools/get_task_status": _post_op(
"get_task_status",
"查询任务当前状态;响应含库存连接器独立字段与候选结构",
"查询任务当前状态;响应含库存源状态与候选结构",
{
"task_id": task_id,
"conversation_id": _str_prop("Dify 会话 ID"),
@@ -94,8 +94,8 @@ def build_dify_openapi_spec(base_url: str) -> dict[str, Any]:
},
required=["task_id", "shipping_chat_capability_token"],
description=(
"返回 inventory_source_code、inventory_connector_type、"
"inventory_warehouse_id、inventory_source_status(unresolved|ambiguous|resolved|"
"返回 inventory_source_code、inventory_warehouse_id、"
"inventory_source_status(unresolved|ambiguous|resolved|"
"candidates_frozen|invalid|conflicted)、inventory_source_method、"
"inventory_source_config_version、inventory_routing_fingerprint、"
"以及 step_payload.inventory_source_resolution.candidates。"