Quality regression: generated visualizations are subpar and broken
Les mainteneurs répondent en général sous 1 jour
Une pull request liée a déjà été fusionnée.
- #60 par @jerelvelarde — fusionnée
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- À clarifier
- Activité
- Calme
- Stack technique
- three.js, typescript
- Domaine
- ai, data-visualization
Piste de recherche
Start by reviewing the agent system prompt, the widget renderer import map, and the LangGraph/CopilotKit setup around langchain_openai.ChatOpenAI. Compare the attached .chalk HTML outputs across models and broader visualization prompts, then determine whether prompt guidance, few-shot examples, or model changes address the regression. Done means the cause is identified and a reproducible quality improvement is demonstrated.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Problem
The quality of generated visualizations from the deployed agent has degraded. The same prompt ("sphere icosahedron morph") produces broken or low-quality outputs across multiple attempts.
Evidence
Two downloaded outputs from the same prompt attached as .html files in .chalk/:
Attempt 1 — CSS 3D divs (sphere-icosahedron-morph (1).html)
- Uses 20
<div>elements with CSStransform-style: preserve-3dandclip-pathtransitions - No WebGL / Three.js despite it being available via the import map
- Hover interaction conflicts with the CSS spin animation (
style.animation = 'none'vs CSSanimation: spin 10s) - The morph is cosmetic — just toggling
border-radius: 50%↔clip-path: polygon()on flat divs - Faces positioned via manual JS math that approximates 3D but doesn't actually render proper geometry
Attempt 2 — Canvas 2D fake 3D (sphere-icosahedron-morph.html)
- Uses
canvas.getContext('2d')instead of WebGL - Sphere is just a radial gradient circle, not actual geometry
- Icosahedron faces are projected triangles drawn with
ctx.moveTo/lineTo— no real lighting - Uses
color-mix()CSS which has mixed browser support - The "morph" is interpolating between a gradient blob and wireframe triangles — visually unconvincing
What a good output would look like
- Use Three.js (available in the import map at
https://esm.sh/three) - Proper
IcosahedronGeometrywithMeshStandardMaterialor custom shaders - Real WebGL lighting and smooth vertex-level morphing between sphere and icosahedron
- Orbit controls or smooth auto-rotation
Possible causes
- Model regression — GPT-5.4 (
gpt-5.4-2026-03-05) may be producing lower-quality code for complex 3D visualizations compared to earlier versions - System prompt lacks quality guidance — The current prompt mentions
widgetRenderercapabilities but doesn't guide the model toward using Three.js/WebGL for 3D content, or set quality expectations for interactive visualizations - No few-shot examples — The agent has no reference for what "good" output looks like, so it falls back to simpler CSS/Canvas approaches
Suggested investigation
- Compare output quality between GPT-5.4 and other models (e.g. Claude) for the same prompts
- Add quality guidance to the system prompt (e.g. "For 3D visualizations, use Three.js from the import map")
- Consider adding few-shot examples of high-quality widget HTML in the agent skills
- Test a broader set of prompts to determine if regression is model-wide or specific to 3D content
Environment
- Model:
gpt-5.4-2026-03-05vialangchain_openai.ChatOpenAI - Agent: LangGraph with CopilotKit middleware
- Widget renderer: sandboxed iframe with import map (Three.js, GSAP, D3, Chart.js available)
- Langage dominant
- TypeScript
- Étoiles
- 3.9k
- Forks
- 414
- Merge moyen
- 4 h
- PR mergées (30 j)
- 6
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de CopilotKit/OpenIntelligentUI
-
Script dedup key truncation may cause collisionsPeut-être pris @saschabuehrle l’a pris il y a 217 jours. Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
CopilotKit/OpenIntelligentUI#37 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
CopilotKit/OpenIntelligentUI#29 ·
Les mainteneurs répondent en général sous 1 jour
-
Self-host with Docker Compose and optional server-held keysPeut-être pris @kannan983 l’a pris il y a 17 jours. Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 18/100
CopilotKit/OpenIntelligentUI#98 ·
Les mainteneurs répondent en général sous 1 jour
-
Support OpenAI-compatible gateways (OpenRouter) via vendor/model namesPeut-être pris @kannan983 l’a pris il y a 17 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 25/100
CopilotKit/OpenIntelligentUI#97 ·
Les mainteneurs répondent en général sous 1 jour
-
UIOuverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 8/100
CopilotKit/OpenIntelligentUI#96 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de CopilotKit/OpenIntelligentUI
Issues similaires
-
Plugin: sheet music can't be scrolled by hand before playbackPeut-être pris @snakajima l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
receptron/jinglescript#51 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
Les mainteneurs répondent en général sous 9 jours
-
clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P3
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
openclaw/openclaw#186424 · 1 commentaire · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
-
chore(worker): five module header comments describe the code from before later issues changed itOuvertearea:dev U2-later
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
bentleypark/aiwatch#1824 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Pal-AI-Lab/Coopanion#469 ·
Les mainteneurs répondent en général sous 1 jour