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

Save widget names in the workflow JSON #3625

Closed
wants to merge 1 commit into from

Commits on Jun 2, 2024

  1. Save widget names in the workflow JSON

    Currently, any external tooling will have a hard time converting workflow JSON files to the API format.
    
    The main reason is that widgets_values is an array and mapping values from that array to widget names requires loading node types from the object_info endpoint as well. However, object_info depends on the plugins installed and thus may miss some of the nodes in the workflow.
    
    This change adds widget_names to the JSON, allowing direct conversion of workflow files to API format without prior knowledge of all node types. This could also help with compatibility in the future.
    
    Resolves comfyanonymous#2275
    dennwc committed Jun 2, 2024
    Configuration menu
    Copy the full SHA
    da4cb71 View commit details
    Browse the repository at this point in the history