@blueking/ai-blueking 0.1.1-beta.2 → 0.1.2-beta.1
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/index.d.ts +9 -1
- package/package.json +1 -1
- package/dist/types/enum.d.ts +0 -9
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { RoleType } from './enum';
|
|
2
1
|
export interface IMessage extends IChatHistory {
|
|
3
2
|
status?: 'error' | 'loading';
|
|
4
3
|
}
|
|
@@ -26,3 +25,12 @@ export interface IChatHistory {
|
|
|
26
25
|
role: RoleType;
|
|
27
26
|
content: string;
|
|
28
27
|
}
|
|
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
|
+
}
|
package/package.json
CHANGED