Skip to content

fix(metadata): handle unknown InvokeAI metadata fields#218

Merged
lstein merged 2 commits intomasterfrom
lstein/feature/unknown-metadata-format
Apr 14, 2026
Merged

fix(metadata): handle unknown InvokeAI metadata fields#218
lstein merged 2 commits intomasterfrom
lstein/feature/unknown-metadata-format

Conversation

@lstein
Copy link
Copy Markdown
Owner

@lstein lstein commented Apr 14, 2026

Summary

  • Switch GenerationMetadata5 from extra="forbid" to extra="allow" so unrecognized metadata fields (e.g. from new InvokeAI model architectures) no longer cause parse failures.
  • Add explicit Pydantic fields for Qwen Image metadata (qwen_image_component_source, qwen_image_quantization, qwen_image_shift) so they are available for display in the metadata table.

Test plan

  • All 33 existing metadata parsing tests pass
  • Verify that images generated with Qwen Image models display metadata correctly in the drawer

🤖 Generated with Claude Code

lstein and others added 2 commits April 14, 2026 00:32
Switch GenerationMetadata5 from extra="forbid" to extra="allow" so
unrecognized fields no longer cause parse failures. Also add explicit
fields for Qwen Image metadata (component_source, quantization, shift).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@lstein lstein enabled auto-merge (squash) April 14, 2026 04:37
@lstein lstein merged commit b0cb4ea into master Apr 14, 2026
5 checks passed
@lstein lstein deleted the lstein/feature/unknown-metadata-format branch April 14, 2026 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant