-
Notifications
You must be signed in to change notification settings - Fork 52
AI Assistant For Workflow Edit #3319
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
base: main
Are you sure you want to change the base?
Conversation
Replace handle_response_generated/3 with extract_generated_code/1 to remove unused parameters and UI side effects. Move callback logic to component for better separation of concerns and add proper type specs.
…low state is sent to Apollo
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.
Just a few things that got changed during the merge conflict resolution.
Please request a review from me once it's done. I'll like to take a closer look later on.
Quickly tested undo/redo when building with the AI. there seems to be issues with it when clicking undo after the AI has painted its workflow on the canvas. edges disappear and some new nodes show up at times.
@doc-han thanks a lot for this review. This is super helpful, and I would love you to continue dissecting this (if you have time). Could you help me understand what you mean here:
Ain't these nodes appearing / disappearing because the AI added / removed them so Undo / Redo would do the inverse ? Isn't this how it should work ? |
- When workflow is nil, query returns sessions where workflow_id is nil - When workflow is provided, query filters by that specific workflow_id
Description
This PR extends the AI Assistant functionality to support workflow editing, building upon its existing workflow creation capabilities. Users can now access the AI Assistant at any stage of their workflow development process, from initial creation through ongoing modifications.
Closes #3247
Validation Steps
1. Basic AI Panel Functionality
2. AI-Assisted Workflow Modifications
3. URL Parameter Persistence
?method=ai
method=ai
parameter is removed from the URL4. Workflow Creation with AI
5. Error Handling
6. Multi-User Scenarios
7. Integration with Existing Features
8. Edge Cases
Additional notes for the reviewer
AI Usage
Please disclose how you've used AI in this work (it's cool, we just want to know!):
You can read more details in our Responsible AI Policy
Pre-submission checklist
:owner
,:admin
,:editor
,:viewer
)