@blueking/ai-blueking 0.1.2-beta.1 → 0.1.2
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/types/enum.d.ts +9 -0
- package/dist/types/index.d.ts +1 -9
- package/dist/vue2/index.es.min.js +1 -0
- package/dist/vue2/index.iife.min.js +28 -28
- package/dist/vue2/index.umd.min.js +20 -20
- package/dist/vue2.d.ts +1 -0
- package/dist/vue3/index.es.min.js +1 -0
- package/dist/vue3/index.iife.min.js +23 -23
- package/dist/vue3/index.umd.min.js +7 -7
- package/dist/vue3.d.ts +1 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RoleType } from './enum';
|
|
1
2
|
export interface IMessage extends IChatHistory {
|
|
2
3
|
status?: 'error' | 'loading';
|
|
3
4
|
}
|
|
@@ -25,12 +26,3 @@ export interface IChatHistory {
|
|
|
25
26
|
role: RoleType;
|
|
26
27
|
content: string;
|
|
27
28
|
}
|
|
28
|
-
export declare enum AgentMessageType {
|
|
29
|
-
AgentAction = "AgentAction",
|
|
30
|
-
AgentActionInfo = "AgentActionInfo"
|
|
31
|
-
}
|
|
32
|
-
export declare enum RoleType {
|
|
33
|
-
Assistant = "assistant",
|
|
34
|
-
System = "system",
|
|
35
|
-
User = "user"
|
|
36
|
-
}
|
|
@@ -17192,5 +17192,6 @@ const _ce = {
|
|
|
17192
17192
|
}
|
|
17193
17193
|
};
|
|
17194
17194
|
export {
|
|
17195
|
+
Up as RoleType,
|
|
17195
17196
|
_ce as default
|
|
17196
17197
|
};
|