@copilotkit/react-ui 1.73.0 → 1.73.2-canary.1790068297
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.
- package/dist/index.cjs +1 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -9
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -8
- package/dist/index.umd.js.map +1 -1
- package/package.json +7 -7
- package/src/components/chat/Chat.tsx +2 -8
package/dist/index.umd.js
CHANGED
|
@@ -2428,14 +2428,7 @@ rehype_sanitize = __toESM(rehype_sanitize);
|
|
|
2428
2428
|
type: "text",
|
|
2429
2429
|
text
|
|
2430
2430
|
});
|
|
2431
|
-
for (const attachment of currentAttachments) contentParts.push(
|
|
2432
|
-
type: attachment.type,
|
|
2433
|
-
source: attachment.source,
|
|
2434
|
-
metadata: {
|
|
2435
|
-
...attachment.filename ? { filename: attachment.filename } : {},
|
|
2436
|
-
...attachment.metadata
|
|
2437
|
-
}
|
|
2438
|
-
});
|
|
2431
|
+
for (const attachment of currentAttachments) contentParts.push((0, _copilotkit_shared.createAttachmentContent)(attachment));
|
|
2439
2432
|
return sendMessage({
|
|
2440
2433
|
id: (0, _copilotkit_shared.randomUUID)(),
|
|
2441
2434
|
content: contentParts,
|