feat: improve batch task controls and release 1.2.0
This commit is contained in:
1 parent
0e13bb5c29
commit
84e183d28d
38 files changed
+632
-147
No files matched your search
@@ -177,3 +177,10 @@ def parse_workbook(data: bytes) -> dict:
|
||||
def case_goal(case: dict) -> str:
|
||||
"""Execution gets the prompt verbatim; metadata stays outside model input."""
|
||||
return case["goal"]
|
||||
|
||||
|
||||
def case_title(case: dict) -> str:
|
||||
"""Human-facing title; never prepend metadata to the model prompt."""
|
||||
case_id = str(case.get("case_id") or "").strip()
|
||||
name = str(case.get("name") or "").strip()
|
||||
return " ".join(part for part in (case_id, name) if part)
|
||||
Reference in new issue
Block a user