@botonic/core 0.46.1 → 0.47.0
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.
|
@@ -76,6 +76,14 @@ export declare enum VerbosityLevel {
|
|
|
76
76
|
Medium = "medium",
|
|
77
77
|
High = "high"
|
|
78
78
|
}
|
|
79
|
+
export interface HubtypeAssistantMessage {
|
|
80
|
+
role: 'assistant';
|
|
81
|
+
content: string;
|
|
82
|
+
}
|
|
83
|
+
export interface HubtypeUserMessage {
|
|
84
|
+
role: 'user';
|
|
85
|
+
content: string;
|
|
86
|
+
}
|
|
79
87
|
export interface AiAgentArgs {
|
|
80
88
|
name: string;
|
|
81
89
|
instructions: string;
|
|
@@ -86,6 +94,7 @@ export interface AiAgentArgs {
|
|
|
86
94
|
}[];
|
|
87
95
|
inputGuardrailRules?: GuardrailRule[];
|
|
88
96
|
sourceIds?: string[];
|
|
97
|
+
previousHubtypeMessages?: HubtypeAssistantMessage[];
|
|
89
98
|
outputMessagesSchemas?: z.ZodObject<any>[];
|
|
90
99
|
}
|
|
91
100
|
export {};
|
|
@@ -76,6 +76,14 @@ export declare enum VerbosityLevel {
|
|
|
76
76
|
Medium = "medium",
|
|
77
77
|
High = "high"
|
|
78
78
|
}
|
|
79
|
+
export interface HubtypeAssistantMessage {
|
|
80
|
+
role: 'assistant';
|
|
81
|
+
content: string;
|
|
82
|
+
}
|
|
83
|
+
export interface HubtypeUserMessage {
|
|
84
|
+
role: 'user';
|
|
85
|
+
content: string;
|
|
86
|
+
}
|
|
79
87
|
export interface AiAgentArgs {
|
|
80
88
|
name: string;
|
|
81
89
|
instructions: string;
|
|
@@ -86,6 +94,7 @@ export interface AiAgentArgs {
|
|
|
86
94
|
}[];
|
|
87
95
|
inputGuardrailRules?: GuardrailRule[];
|
|
88
96
|
sourceIds?: string[];
|
|
97
|
+
previousHubtypeMessages?: HubtypeAssistantMessage[];
|
|
89
98
|
outputMessagesSchemas?: z.ZodObject<any>[];
|
|
90
99
|
}
|
|
91
100
|
export {};
|
package/package.json
CHANGED
package/src/models/ai-agents.ts
CHANGED
|
@@ -105,6 +105,16 @@ export enum VerbosityLevel {
|
|
|
105
105
|
High = 'high',
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
+
export interface HubtypeAssistantMessage {
|
|
109
|
+
role: 'assistant'
|
|
110
|
+
content: string
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export interface HubtypeUserMessage {
|
|
114
|
+
role: 'user'
|
|
115
|
+
content: string
|
|
116
|
+
}
|
|
117
|
+
|
|
108
118
|
export interface AiAgentArgs {
|
|
109
119
|
name: string
|
|
110
120
|
instructions: string
|
|
@@ -113,5 +123,6 @@ export interface AiAgentArgs {
|
|
|
113
123
|
activeTools?: { name: string }[]
|
|
114
124
|
inputGuardrailRules?: GuardrailRule[]
|
|
115
125
|
sourceIds?: string[]
|
|
126
|
+
previousHubtypeMessages?: HubtypeAssistantMessage[]
|
|
116
127
|
outputMessagesSchemas?: z.ZodObject<any>[]
|
|
117
128
|
}
|