UN-3569 [FEAT] Pass group_key through agentic_params in structure_tool_task#2173
UN-3569 [FEAT] Pass group_key through agentic_params in structure_tool_task#2173harini-venkataraman wants to merge 1 commit into
Conversation
…l_task Include group_key from agentic_table_settings in the executor params dict so the agentic table executor can use it for section-level field extraction during deployed pipeline runs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
Summary by CodeRabbit
WalkthroughThe agentic-table dispatch now explicitly types its executor parameter dictionary and conditionally passes a non-empty ChangesAgentic table dispatch
Estimated code review effort: 1 (Trivial) | ~3 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
| Filename | Overview |
|---|---|
| workers/file_processing/structure_tool_task.py | Adds optional group_key forwarding to the agentic-table worker without changing the default payload. |
Reviews (1): Last reviewed commit: "UN-3569 [FEAT] Pass group_key through ag..." | Re-trigger Greptile
Unstract test resultsPer-group results
Critical paths
|



What
group_keysetting from agentic table tool metadata through to the worker'sagentic_paramsdict, enabling the opt-in section-level field extraction feature in the agentic table pluginWhy
The cloud repo's
payload_modifiernow exportsgroup_keyin the tool settings. The OSSstructure_tool_task.pyneeds to read it fromat_settingsand include it inagentic_paramsso the agentic table worker receives the configuration.How
workers/file_processing/structure_tool_task.py:dict[str, Any]toagentic_paramsdeclarationagentic_paramsdict, readsgroup_keyfromat_settings(default"")group_keytoagentic_paramsonly when non-empty (matching the cloud payload modifier pattern)Can this PR break any existing features? If yes, please list possible items. If no, please explain why.
No. The change is purely additive:
at_settings.get("group_key", "")returns""when the key doesn't exist (all current deployments), so theif group_key:guard isFalseandagentic_paramsis unchangeddict[str, Any]) is cosmetic and has no runtime effectgroup_keygracefully (defaults to""viaparams.get(ParamKeys.GROUP_KEY, ""))Relevant Docs
Related Issues or PRs
Dependencies Versions / Env Variables
group_keyto appear inat_settingsNotes on Testing
structure_tool_task.pyfunction is integration-tested via end-to-end pipeline runsgroup_keyin agentic table settings and running an extraction — the worker should receivegroup_keyin its paramsScreenshots
N/A — backend-only change
Checklist
I have read and understood the Contribution Guidelines.