This commit is contained in:
Taylor Wilsdon
2026-03-03 17:36:21 -05:00
parent 548394efbb
commit a5a896977f
2 changed files with 17 additions and 5 deletions

View File

@@ -295,7 +295,9 @@ class BatchOperationManager:
description = f"find/replace '{op['find_text']}''{op['replace_text']}'"
elif op_type == "insert_doc_tab":
request = create_insert_doc_tab_request(op["title"], op["index"], op.get("parent_tab_id"))
request = create_insert_doc_tab_request(
op["title"], op["index"], op.get("parent_tab_id")
)
description = f"insert tab '{op['title']}' at {op['index']}"
if op.get("parent_tab_id"):
description += f" under parent tab {op['parent_tab_id']}"
@@ -318,6 +320,9 @@ class BatchOperationManager:
"insert_table",
"insert_page_break",
"find_replace",
"insert_doc_tab",
"delete_doc_tab",
"update_doc_tab",
]
raise ValueError(
f"Unsupported operation type '{op_type}'. Supported: {', '.join(supported_types)}"