From dbcf7421ea2e0168a03330407e6f49e4df1c9f44 Mon Sep 17 00:00:00 2001 From: fujie Date: Sat, 28 Feb 2026 13:04:10 +0800 Subject: [PATCH] feat(pipes): simplify richui iframe tag to give full styling control to openwebui emitter --- .../pipes/github-copilot-sdk/github_copilot_sdk.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/plugins/pipes/github-copilot-sdk/github_copilot_sdk.py b/plugins/pipes/github-copilot-sdk/github_copilot_sdk.py index de71ce1..65745d4 100644 --- a/plugins/pipes/github-copilot-sdk/github_copilot_sdk.py +++ b/plugins/pipes/github-copilot-sdk/github_copilot_sdk.py @@ -1245,15 +1245,9 @@ class Pipe: # Note: Emission is now delayed until session.idle to avoid UI flicker and ensure reliability. if is_html and embed_type == "richui" and rich_ui_supported: try: - # For Rich UI Integrated view, we pass a clean iframe. - # We use 100vh directly to allow it to expand fully like artifacts. - embed_content = ( - f'' - ) + # For Rich UI Integrated view, we pass a bare iframe. + # We let the OpenWebUI system control styling, height, and sandboxing. + embed_content = f'' if pending_embeds is not None: pending_embeds.append(