Skip to content

fix(channels): forward generated image media - #286

Closed
patsyang wants to merge 2 commits into
HKUDS:mainfrom
patsyang:codex/feishu-image-generation-media
Closed

fix(channels): forward generated image media#286
patsyang wants to merge 2 commits into
HKUDS:mainfrom
patsyang:codex/feishu-image-generation-media

Conversation

@patsyang

@patsyang patsyang commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Forward successful image_generation tool output paths into outbound channel media.
  • Only attach existing local files from image_generation.metadata.paths.
  • Add coverage to ensure unrelated tool paths metadata is not treated as media.

Tests

  • uv run pytest tests/test_channels/test_adapter_media.py tests/test_ohmo/test_gateway.py::test_gateway_bridge_publishes_media_updates

@patsyang

patsyang commented Jun 3, 2026

Copy link
Copy Markdown
Contributor Author

Closing this PR in favor of a cleaner single-commit replacement. The original branch included an earlier attempt against the generic channel bridge before the fix was narrowed to the OHMO gateway path.

@patsyang patsyang closed this Jun 3, 2026
@patsyang
patsyang deleted the codex/feishu-image-generation-media branch June 4, 2026 01:45
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