[gallery] Fix duplicate sha256 keys in Wan models#9461
Merged
mudler merged 1 commit intomudler:masterfrom Apr 21, 2026
Merged
Conversation
The wan models previously defined the `sha256` key twice in their files lists, which triggered strict mapping key checks in the YAML parser and resulted in unmarshal errors that crashed the `/api/models` loading. This removes the redundant trailing `sha256` keys from the Wan model definitions. Assisted-by: Antigravity:Gemini-3.1-Pro-High [multi_replace_file_content, run_command] Signed-off-by: Alex <codecrusher24@gmail.com>
mudler
approved these changes
Apr 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes an unmarshal error that crashed the
/api/modelsendpoint on startup. Thewan-2.1models previously defined thesha256key twice in their files lists, which triggered strict mapping key checks in the YAML parser (failed to read gallery elements: yaml: unmarshal errors). This PR simply removes the redundant trailingsha256keys from those Wan model definitions.Notes for Reviewers
local-aiwith the patchedindex.yamlsuccessfully resolves the 500 error on/api/modelsand accurately loads the model capabilities instead of crashing the parser.Signed commits