@uptiqai/widgets-sdk 1.349.0 → 1.351.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/index.css +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.js +33786 -33722
- package/dist/index.umd.cjs +237 -237
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -73,6 +73,12 @@ declare enum AgentResponseFormat {
|
|
|
73
73
|
Markdown = "Markdown"
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
+
declare type AgentVersionOption = {
|
|
77
|
+
version: number;
|
|
78
|
+
createdAt: string;
|
|
79
|
+
versionDescription?: string;
|
|
80
|
+
};
|
|
81
|
+
|
|
76
82
|
declare type AiMessage = EvaluationResultElement | DoneElement | StatusUpdateElement | PlanUpdateElement | ErrorElement | ToolResultElement | ToolCallElement | AgentMessage_2 | ContextualKnowledgeElement | PausedElement | TokenUsageElement;
|
|
77
83
|
|
|
78
84
|
declare type AttachedDocument = {
|
|
@@ -657,6 +663,8 @@ declare type WidgetConfig = {
|
|
|
657
663
|
appId?: string;
|
|
658
664
|
accountId?: string;
|
|
659
665
|
variables?: Record<string, string>;
|
|
666
|
+
agentVersion?: number;
|
|
667
|
+
agentVersions?: AgentVersionOption[];
|
|
660
668
|
enableDeprecatedModelMigration?: boolean;
|
|
661
669
|
enableLegacyConversationMigration?: boolean;
|
|
662
670
|
};
|