Artifacts
Enable Artifacts and adjust the settings that affect the Artifacts panel.
This page covers the admin side of Artifacts. Users turn artifacts on per agent in the Agent Builder; the settings here decide whether that option exists and where the previews load from.
Enabling artifacts
Artifacts are an agent capability. artifacts is in the default endpoints.agents.capabilities list, so it is available unless you set your own list without it. If you override capabilities, include artifacts to keep the option in the Agent Builder.
To give a model spec artifacts without building an agent, set artifacts on the spec. true uses the default mode; you can also pass a mode name: default, shadcnui, or custom.
Opening the panel in a new window
The panel has an Open in new window button that moves it into a separate browser window. It is on by default. If your deployment runs somewhere pop-ups do not work, such as an embedded webview, turn it off with interface.artifactUndocking: false; the docked panel keeps working.
Content-Security-Policy
IntelliAsk's own CSP allows HTTPS frames, so the default CodeSandbox bundler loads without changes. If a reverse proxy or CDN in front of IntelliAsk sets a stricter Content-Security-Policy, allow the bundler origin in frame-src: https://*.codesandbox.io for the public bundler. When you only need to extend IntelliAsk's built-in policy, use CSP_FRAME_SRC_EXTRA.
React previews also load Tailwind from cdn.tailwindcss.com, so that host must be reachable from users' browsers.
Last updated on