Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

UN-3569 [FIX] Pass enable_header_mapping through agentic_params (#2268)

harini-venkataramanbae92cf07bb5
diff --git a/workers/file_processing/structure_tool_task.py b/workers/file_processing/structure_tool_task.py
index 9e6353e65..61334e63f 100644
--- a/workers/file_processing/structure_tool_task.py
+++ b/workers/file_processing/structure_tool_task.py
@@ -465,6 +465,7 @@ def _execute_structure_tool_impl(params: dict) -> dict:
"execution_id": execution_id,
"PLATFORM_SERVICE_API_KEY": platform_service_api_key,
"group_key": at_settings.get("group_key", ""),
+ "enable_header_mapping": at_settings.get("enable_header_mapping", False),
# Set on the output at export by prompt_studio_registry_helper.py
# when a lookup is assigned; None otherwise.
"lookup_config": at_output.get("lookup_config"),