-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix(hitl): add missing fields to block configs #3027
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Greptile OverviewGreptile SummaryThis PR introduces a systematic approach to hiding internal block output fields from display logs and UI while keeping them available for execution. The implementation adds a Key Changes:
Code Quality Improvements:
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant UI as Resume UI
participant Executor as Block Executor
participant Filter as Output Filter
participant Config as Block Config
participant Log as Block Log
Note over UI,Log: Human-in-the-loop Block Execution
Executor->>Config: Get block outputs schema
Config-->>Executor: Returns outputs with hiddenFromDisplay flags
Executor->>Executor: Execute HITL block
Executor->>Executor: Generate output (url, response, submission, etc.)
Note over Executor,Filter: Filtering for Display/Logs
Executor->>Filter: filterOutputForLog(blockType, output, options)
Filter->>Config: Check hiddenFromDisplay flag for each field
Config-->>Filter: Return field metadata
Filter->>Filter: Skip fields with hiddenFromDisplay=true
Filter->>Filter: Skip fields starting with '_'
Filter->>Filter: Skip additionalHiddenKeys (e.g., 'resume')
Filter-->>Executor: Return filtered output
Executor->>Log: Write filtered output to block log
Executor->>UI: Send filtered output for display
Note over UI: Only shows: url, resumeEndpoint, submittedAt, and form fields
Note over Log: Hidden: response, submission, resumeInput, cost, providerTiming
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No files reviewed, no comments
|
@cursor review |
|
@cursor review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Summary
Cleanup code to hide fields from display logs. Add missing fields for HITL.
Type of Change
Testing
Tested manually
Checklist