feat: 子任务默认模型/强度(child_model/child_effort)

主任务可显式声明派生默认,或在 prompt 里写“子任务用 gpt-6-luna max”
由服务端解析填入;marker task-create 与协调员分工未显式写模型/强度时
按 块/分工 > 派生默认 > 父任务模型/强度 继承,fork 复制派生默认,
continue 可改派生默认;console 新建/继续表单与任务详情同步展示。
This commit is contained in:
host committed 2026-10-29 05:27:22 +08:00
1 parent f99e667222
commit 14757f15c4
7 files changed
+588 -25

No files matched your search

+5 -1
View File
@@ -128,7 +128,11 @@ def ensure_columns(conn):
for name, coltype in {
"coordinator_parts": "TEXT",
"parent_task_id": "TEXT",
"coordinator_part": "TEXT"}.items():
"coordinator_part": "TEXT",
# 派生默认列:协调员子任务 INSERT 也写这两列,
# 老库缺列时这里补上,否则 INSERT 会炸。
"child_model": "TEXT",
"child_effort": "TEXT"}.items():
if name not in cols:
try:
conn.execute(