Fix WebSocket HITL Response Schema and Update UI Submodule#1079
Conversation
Signed-off-by: Eric Evans <194135482+ericevans-nv@users.noreply.github.com>
WalkthroughThe changes introduce two new fields ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~15 minutes The changes follow a consistent, repetitive pattern of adding two new fields across related files (data model, documentation, and tests). The edits are straightforward field declarations and schema updates with no complex logic or architectural modifications. The submodule pointer update adds minimal review scope. Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 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 |
…to ui-ws-fix-submodule-update
willkill07
left a comment
There was a problem hiding this comment.
Exhaustively tested all modes and HITL examples.
LGTM 👍
|
/merge |
Description
This change adds the missing
parent_idandconversation_idfields to theWebSocketUserInteractionResponseMessageschema.Previously, the schema only included
thread_id, which was insufficient for correctly routing Human-in-the-Loop (HITL) responses back to their originating conversations and workflow sessions. Without these fields, HITL responses could be dropped or misrouted in multi-conversation scenarios, causing workflows to hang while waiting for user input.The update includes:
The UI submodule has also been updated to include these fields when sending HITL responses, ensuring synchronization between the frontend and backend for accurate message routing. This fix restores proper bidirectional communication between the UI and backend for HITL workflows by providing the necessary conversation context for user interaction prompts.
By Submitting this PR I confirm:
Summary by CodeRabbit
New Features
Documentation
Chores