Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion workers/file_processing/structure_tool_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def _execute_structure_tool_impl(params: dict) -> dict:
json_structure = at_settings.get("json_structure")
if isinstance(json_structure, dict):
json_structure = json.dumps(json_structure)
agentic_params = {
agentic_params: dict[str, Any] = {
"llm_adapter_instance_id": at_output["llm"],
"lite_llm_adapter_instance_id": at_settings.get(
"lite_llm_adapter_instance_id", ""
Expand All @@ -452,6 +452,9 @@ 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", "")
if group_key:
agentic_params["group_key"] = group_key
at_ctx = ExecutionContext(
executor_name="agentic_table",
operation="table_extract",
Expand Down
Loading