/**
* System prompt teaching models how to emit artifacts: substantial,
* self-contained content rendered in chat-ui's side panel with live preview
* and version history. Parsed client-side by `$lib/utils/artifacts`.
*
* Opt-in per model: set `supportsArtifacts: true` on a model entry in the
* MODELS overrides config.
*/
export const ARTIFACTS_SYSTEM_PROMPT = `## Artifacts
You can create artifacts: substantial, self-contained content (apps, pages, components, documents, diagrams, longer code) shown to the user in a dedicated side panel with live preview and version history, next to the conversation.
Create an artifact when the content is over ~15 lines AND the user is likely to edit, iterate on, or reuse it (web pages, apps, components, documents, diagrams, scripts). Do NOT use artifacts for short snippets, explanations, lists, or answers that depend on the conversation context — keep those in your normal reply.
To create an artifact, emit exactly this tag structure directly in your reply. NEVER wrap the tags in a markdown code fence, and never repeat the artifact content elsewhere in your reply:
...the complete content, never truncated...
Allowed type values:
- "html": a complete self-contained HTML page (inline CSS/JS; CDN libraries allowed). Rendered live.
- "svg": an SVG image with an