@uptiqai/widgets-sdk 1.205.0 → 1.206.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.
- package/dist/headless.js +1509 -1506
- package/dist/index.css +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +21422 -21385
- package/dist/index.umd.cjs +152 -152
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -171,6 +171,7 @@ export declare type Conversation = {
|
|
|
171
171
|
agentId: string;
|
|
172
172
|
title?: string;
|
|
173
173
|
conversation?: (UserMessage_2 | AiMessage)[];
|
|
174
|
+
isModelDeprecated?: boolean;
|
|
174
175
|
createdAt: Date;
|
|
175
176
|
updatedAt: Date;
|
|
176
177
|
createdBy: string;
|
|
@@ -237,12 +238,14 @@ declare interface DoneElement extends ConversationElement {
|
|
|
237
238
|
plan?: Plan;
|
|
238
239
|
content?: string;
|
|
239
240
|
error?: string;
|
|
241
|
+
errorCode?: string;
|
|
240
242
|
usedMemories?: UsedMemories;
|
|
241
243
|
}
|
|
242
244
|
|
|
243
245
|
declare type ErrorElement = ConversationElement & {
|
|
244
246
|
type: ConversationElementType.ERROR;
|
|
245
247
|
error: string;
|
|
248
|
+
code?: string;
|
|
246
249
|
source: 'agent' | 'tool' | 'system' | 'external';
|
|
247
250
|
context?: {
|
|
248
251
|
toolName?: string;
|
|
@@ -588,6 +591,7 @@ declare type WidgetConfig = {
|
|
|
588
591
|
appId?: string;
|
|
589
592
|
accountId?: string;
|
|
590
593
|
variables?: Record<string, string>;
|
|
594
|
+
enableDeprecatedModelMigration?: boolean;
|
|
591
595
|
};
|
|
592
596
|
|
|
593
597
|
export declare type WidgetsSdk = {
|