teodor-new-chat-ui 4.3.76 → 4.3.78
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/components/chat/MessageComponent.d.ts +2 -2
- package/dist/components/chat/MessageList.d.ts +2 -2
- package/dist/index.esm.js +5992 -5941
- package/dist/index.umd.js +71 -71
- package/dist/types/api.d.ts +11 -0
- package/package.json +1 -1
package/dist/types/api.d.ts
CHANGED
|
@@ -47,6 +47,17 @@ export interface ChatMessage {
|
|
|
47
47
|
additionalKwargs?: Record<string, unknown>;
|
|
48
48
|
responseMetadata?: Record<string, unknown>;
|
|
49
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* Default/welcome message type for rendering initial instructions
|
|
52
|
+
* Markdown content is automatically rendered with proper theme support
|
|
53
|
+
*/
|
|
54
|
+
export interface DefaultMessage {
|
|
55
|
+
id: "default-message";
|
|
56
|
+
role: "assistant";
|
|
57
|
+
type: "default_message";
|
|
58
|
+
content: string;
|
|
59
|
+
createdAt?: string;
|
|
60
|
+
}
|
|
50
61
|
export interface PregelTask {
|
|
51
62
|
id: string;
|
|
52
63
|
name: string;
|
package/package.json
CHANGED