Add row assembly request object
This commit is contained in:
@@ -1761,10 +1761,12 @@ def smoke_row_assembly_policy() -> None:
|
||||
"slot_status": "applied",
|
||||
"character_slots": [{"label": "Woman A"}, {"label": "Man A"}],
|
||||
}
|
||||
row = row_assembly.assemble_custom_row(**kwargs)
|
||||
delegated = pb._assemble_custom_row(**kwargs)
|
||||
request = row_assembly.CustomRowAssemblyRequest(**kwargs)
|
||||
row = row_assembly.assemble_custom_row(request)
|
||||
delegated = pb._assemble_custom_row(request)
|
||||
|
||||
_expect(row == delegated, "Prompt builder row assembly wrapper should delegate without changing output")
|
||||
_expect(request.content_seed_axis == "pose", "Row assembly request lost seed-axis metadata")
|
||||
_expect(row["id"] == "sxcp_0011", "Row assembly changed row indexing")
|
||||
_expect(row["batch"] == "batch_001", "Row assembly changed batch calculation")
|
||||
_expect(row["source"] == "json_category", "Row assembly lost source marker")
|
||||
|
||||
Reference in New Issue
Block a user