Skip to content

Conversation

@saksharthakkar
Copy link
Contributor

Summary

  • Add _inject_reviewed_data() helper to pass ReviewedInputs/ReviewedOutputs from HITL escalation result through inner_state
  • Observability callback in uipath-agents-python reads this data in on_chain_end to populate span attributes
  • Add __metadata__ to escalate action node function

Related

🤖 Generated with Claude Code

Add _inject_reviewed_data() helper to pass ReviewedInputs/ReviewedOutputs
from HITL escalation result through inner_state for observability callback.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@saksharthakkar saksharthakkar marked this pull request as draft January 28, 2026 00:42
saksharthakkar and others added 3 commits January 27, 2026 16:44
Resolved conflict in escalate_action.py:
- Kept observability comment from feature branch
- Used capitalized "Escalate" action_type from main

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add __metadata__ with action_type to escalate action node, consistent
with other action nodes (block, log, filter). This enables callback
to detect action nodes via metadata instead of relying on node name
suffix patterns.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant