@cadraos/sdk 0.3.14-p46.2 → 0.3.14-p46.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3676,6 +3676,7 @@ function createDefaultAdapter(config) {
3676
3676
  filename: a.filename,
3677
3677
  mimeType: a.mimeType,
3678
3678
  url: a.url,
3679
+ ...a.thumbnailUrl ? { thumbnailUrl: a.thumbnailUrl } : {},
3679
3680
  createdAt: a.createdAt
3680
3681
  }));
3681
3682
  },
@@ -5514,7 +5515,9 @@ function useAgentChat(options) {
5514
5515
  args: {},
5515
5516
  result: {
5516
5517
  success: true,
5517
- images: [{ url: artifact.url }]
5518
+ images: [
5519
+ artifact.thumbnailUrl ? { url: artifact.url, thumbnailUrl: artifact.thumbnailUrl } : { url: artifact.url }
5520
+ ]
5518
5521
  },
5519
5522
  status: "completed"
5520
5523
  }));