February 9, 2025
Breaking changes
Artifacts no longer fetched via REST API
Chat artifacts are no longer fetched via GET /v1/chat-artifacts/{id} or client.getArtifact(). The WebSocket backend now expands artifact tags just-in-time (JIT) during streaming and delivers artifact content inline in message text.
Migration:
- Remove any
client.getArtifact(artifactId)calls - Parse
message.textfor embedded JSON objects withitem_typeanditem_content - The vanilla widget already parses and renders embedded artifacts automatically
- See the Artifacts documentation for parsing examples
Removed
SunnyAgentsClient.getArtifact()methodapiBaseUrlconfiguration option (was only used for artifact fetch)- REST endpoint
/v1/chat-artifacts/{artifactId}