Skip to content
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

Fix drawing for HITL #16624

Merged
merged 9 commits into from
Oct 21, 2024
Merged

Fix drawing for HITL #16624

merged 9 commits into from
Oct 21, 2024

Conversation

nerdai
Copy link
Contributor

@nerdai nerdai commented Oct 21, 2024

Description

This PR fixes drawing of Workflows that use HITL pattern. It introduces a conceptual "external_step"

image

Version Bump?

Did I bump the version in the pyproject.toml file of the package I am updating? (Except for the llama-index-core package)

  • Yes
  • No

Type of Change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How Has This Been Tested?

Your pull-request will likely not be merged unless it is covered by some form of impactful unit testing.

  • I believe this change is already covered by existing unit tests

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Oct 21, 2024
@nerdai nerdai changed the title Add special events: BlockingEvent and UnblockingEvent Fix drawing for HITL Oct 21, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 21, 2024
@logan-markewich
Copy link
Collaborator

Looks like deeplake update 😓 Safe to ignore those tests

@nerdai
Copy link
Contributor Author

nerdai commented Oct 21, 2024

Looks like deeplake update 😓 Safe to ignore those tests

🥲 okay will do. But what about coveralls check? I looked at the tests that we currently have and it wasn't immediately obvious to me how we could test the produced net to see if it has correctly added the external step node and its relevant edges.

If we deem this as really important, I can spend some time tinkering tests perhaps, tho I don't yet know how would I go about that.

@logan-markewich
Copy link
Collaborator

Eh, tests are less important for this drawing package (pretty hard to test I agree) -- any test would just generate the png but you can't really check it, only ensure that it didn't break

@logan-markewich logan-markewich merged commit 98400ca into main Oct 21, 2024
6 of 11 checks passed
@logan-markewich logan-markewich deleted the nerdai/add-blocking-events branch October 21, 2024 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants