Root Cause: Embeds were rendering above message content due to incorrect position in the component.
Solution: Moved the embeds rendering block to the correct position after code_executions.
Testing:
Verified the diff matches the expected change
No new dependencies or breaking changes
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/23053
**Author:** [@yang1002378395-cmyk](https://github.com/yang1002378395-cmyk)
**Created:** 3/26/2026
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `fix-embeds-rendering-order`
---
### 📝 Commits (1)
- [`6e1d677`](https://github.com/open-webui/open-webui/commit/6e1d67769e360af0dfbec8138f376fa350e2f259) fix: Move embeds rendering below message content
### 📊 Changes
**1 file changed** (+19 additions, -19 deletions)
<details>
<summary>View changed files</summary>
📝 `src/lib/components/chat/Messages/ResponseMessage.svelte` (+19 -19)
</details>
### 📄 Description
# Pull Request Checklist
- [x] **Target branch:** Targets the `dev` branch
- [x] **Description:** Fix embeds rendering order to show below message content
- [x] **Changelog:** Entry added below
- [x] **Testing:** Logic follows documented rendering position
- [x] **Code review:** Self-review completed
- [x] **Git Hygiene:** Single atomic fix, focused on rendering order
# Changelog Entry
### Description
Rich UI embeds now render below message text content, as documented.
### Fixed
- Moved embeds block to render after code_executions
- Ensures correct visual order: message content → code executions → embeds
---
### Additional Information
Fixes #23049
**Root Cause:** Embeds were rendering above message content due to incorrect position in the component.
**Solution:** Moved the embeds rendering block to the correct position after code_executions.
**Testing:**
- Verified the diff matches the expected change
- No new dependencies or breaking changes
### Contributor License Agreement
- [x] By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/23053
Author: @yang1002378395-cmyk
Created: 3/26/2026
Status: ❌ Closed
Base:
dev← Head:fix-embeds-rendering-order📝 Commits (1)
6e1d677fix: Move embeds rendering below message content📊 Changes
1 file changed (+19 additions, -19 deletions)
View changed files
📝
src/lib/components/chat/Messages/ResponseMessage.svelte(+19 -19)📄 Description
Pull Request Checklist
devbranchChangelog Entry
Description
Rich UI embeds now render below message text content, as documented.
Fixed
Additional Information
Fixes #23049
Root Cause: Embeds were rendering above message content due to incorrect position in the component.
Solution: Moved the embeds rendering block to the correct position after code_executions.
Testing:
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.