@superatomai/sdk-node 0.0.23-mds → 0.0.24-mds
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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2768,6 +2768,7 @@ declare class SuperatomSDK {
|
|
|
2768
2768
|
private modelStrategy;
|
|
2769
2769
|
private mainAgentModel;
|
|
2770
2770
|
private sourceAgentModel;
|
|
2771
|
+
private dashCompModels?;
|
|
2771
2772
|
private conversationSimilarityThreshold;
|
|
2772
2773
|
private userManager;
|
|
2773
2774
|
private dashboardManager;
|
package/dist/index.d.ts
CHANGED
|
@@ -2768,6 +2768,7 @@ declare class SuperatomSDK {
|
|
|
2768
2768
|
private modelStrategy;
|
|
2769
2769
|
private mainAgentModel;
|
|
2770
2770
|
private sourceAgentModel;
|
|
2771
|
+
private dashCompModels?;
|
|
2771
2772
|
private conversationSimilarityThreshold;
|
|
2772
2773
|
private userManager;
|
|
2773
2774
|
private dashboardManager;
|
package/dist/index.js
CHANGED
|
@@ -16671,6 +16671,7 @@ var SuperatomSDK = class {
|
|
|
16671
16671
|
this.modelStrategy = config.modelStrategy || "fast";
|
|
16672
16672
|
this.mainAgentModel = config.mainAgentModel || "anthropic/claude-sonnet-4-5-20250929";
|
|
16673
16673
|
this.sourceAgentModel = config.sourceAgentModel || "anthropic/claude-sonnet-4-5-20250929";
|
|
16674
|
+
this.dashCompModels = config.dashCompModels;
|
|
16674
16675
|
this.conversationSimilarityThreshold = config.conversationSimilarityThreshold ?? 0.8;
|
|
16675
16676
|
this.applyModelStrategy(this.modelStrategy);
|
|
16676
16677
|
this.applyConversationSimilarityThreshold(this.conversationSimilarityThreshold);
|
|
@@ -16888,12 +16889,12 @@ var SuperatomSDK = class {
|
|
|
16888
16889
|
});
|
|
16889
16890
|
break;
|
|
16890
16891
|
case "DASH_COMP_REQ":
|
|
16891
|
-
handleDashCompRequest(parsed, this.components, (msg) => this.send(msg), this.anthropicApiKey, this.groqApiKey, this.geminiApiKey, this.openaiApiKey, this.llmProviders, this.collections, this.tools).catch((error) => {
|
|
16892
|
+
handleDashCompRequest(parsed, this.components, (msg) => this.send(msg), this.anthropicApiKey, this.groqApiKey, this.geminiApiKey, this.openaiApiKey, this.llmProviders, this.collections, this.tools, this.dashCompModels).catch((error) => {
|
|
16892
16893
|
logger.error("Failed to handle dash comp request:", error);
|
|
16893
16894
|
});
|
|
16894
16895
|
break;
|
|
16895
16896
|
case "REPORT_COMP_REQ":
|
|
16896
|
-
handleReportCompRequest(parsed, this.components, (msg) => this.send(msg), this.anthropicApiKey, this.groqApiKey, this.geminiApiKey, this.openaiApiKey, this.llmProviders, this.collections, this.tools).catch((error) => {
|
|
16897
|
+
handleReportCompRequest(parsed, this.components, (msg) => this.send(msg), this.anthropicApiKey, this.groqApiKey, this.geminiApiKey, this.openaiApiKey, this.llmProviders, this.collections, this.tools, this.dashCompModels).catch((error) => {
|
|
16897
16898
|
logger.error("Failed to handle report comp request:", error);
|
|
16898
16899
|
});
|
|
16899
16900
|
break;
|