Skip to content

fix generated media history URLs#6383

Open
zhonggang666 wants to merge 1 commit into
1Panel-dev:v2from
zhonggang666:codex/split-fix-generated-media-history
Open

fix generated media history URLs#6383
zhonggang666 wants to merge 1 commit into
1Panel-dev:v2from
zhonggang666:codex/split-fix-generated-media-history

Conversation

@zhonggang666

Copy link
Copy Markdown
Contributor

What this PR does / why we need it?

Fixes generated media history replay so stored image metadata dictionaries are converted back into actual image URLs.

Closes #6371.

Summary of your change

  • Adds a small helper to normalize historical image_list entries.
  • Supports both existing string entries and current { file_id, url } metadata dictionaries.
  • Replays the actual URL instead of the string representation of the whole Python dict.

Please indicate you've done the following:

  • Made sure tests are passing and test coverage is added if needed.
  • Made sure commit message follow the rule of Conventional Commits specification.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

Validation:

  • python -m py_compile apps/application/flow/step_node/image_generate_step_node/impl/base_image_generate_node.py apps/application/flow/step_node/text_to_video_step_node/impl/base_text_to_video_node.py apps/application/flow/step_node/image_to_video_step_node/impl/base_image_to_video_node.py
  • git diff --check

@zhonggang666 zhonggang666 force-pushed the codex/split-fix-generated-media-history branch from 7292089 to f9f284a Compare July 9, 2026 09:27
@zhonggang666 zhonggang666 marked this pull request as ready for review July 9, 2026 13:12
@zhonggang666 zhonggang666 changed the title [codex] fix generated media history URLs fix generated media history URLs Jul 9, 2026
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.

[Bug] Generated media history passes image metadata dicts as image URLs

1 participant