Fix Artifacts State
Status: Complete
Requirements
Tasks
§1: Research (R1)
- 1a: Document how LibreChat’s
artifactsfield values affect behavior (default vs custom prompt mode) - 1b: Confirm whether the
artifactsfield value needs to change - 1c: Identify other LibreChat config affecting artifact rendering
- 1d: List all five artifact types and their rendering requirements
- 1e: Document root cause
§2: Fix Instructions (R2)
- 2a: Add artifact instructions to FORGE.md (within ≤1,500 word budget)
- 2b: Update Artifacts SKILL.md to complement (not duplicate) FORGE.md
- 2c: Update or archive
LibreChat_Artifact_Instructions.md - 2d: Run
/update-agentsto propagate to all variants
§3: Per-Type References (R3)
- 3a: Create
references/types/html.md - 3b: Create
references/types/svg.md - 3c: Create
references/types/markdown.md - 3d: Create
references/types/mermaid.md - 3e: Create
references/types/react.md - 3f: Update SKILL.md with per-type pointers
- 3g: Add sidebar entries for new files
§4: Testing (R4 + R5)
- 4a–4b: Playwright tests — skipped (login creds not available)
- 4c: Create
artifact_test.mdwith all five artifact type examples - 4d: Manual testing — HTML, React, SVG, Mermaid confirmed working. Markdown artifact dropped (requires wildcard DNS + dedicated static bundler server; cost not justified).