@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.mjs CHANGED
@@ -16611,6 +16611,7 @@ var SuperatomSDK = class {
16611
16611
  this.modelStrategy = config.modelStrategy || "fast";
16612
16612
  this.mainAgentModel = config.mainAgentModel || "anthropic/claude-sonnet-4-5-20250929";
16613
16613
  this.sourceAgentModel = config.sourceAgentModel || "anthropic/claude-sonnet-4-5-20250929";
16614
+ this.dashCompModels = config.dashCompModels;
16614
16615
  this.conversationSimilarityThreshold = config.conversationSimilarityThreshold ?? 0.8;
16615
16616
  this.applyModelStrategy(this.modelStrategy);
16616
16617
  this.applyConversationSimilarityThreshold(this.conversationSimilarityThreshold);
@@ -16828,12 +16829,12 @@ var SuperatomSDK = class {
16828
16829
  });
16829
16830
  break;
16830
16831
  case "DASH_COMP_REQ":
16831
- handleDashCompRequest(parsed, this.components, (msg) => this.send(msg), this.anthropicApiKey, this.groqApiKey, this.geminiApiKey, this.openaiApiKey, this.llmProviders, this.collections, this.tools).catch((error) => {
16832
+ 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) => {
16832
16833
  logger.error("Failed to handle dash comp request:", error);
16833
16834
  });
16834
16835
  break;
16835
16836
  case "REPORT_COMP_REQ":
16836
- handleReportCompRequest(parsed, this.components, (msg) => this.send(msg), this.anthropicApiKey, this.groqApiKey, this.geminiApiKey, this.openaiApiKey, this.llmProviders, this.collections, this.tools).catch((error) => {
16837
+ 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) => {
16837
16838
  logger.error("Failed to handle report comp request:", error);
16838
16839
  });
16839
16840
  break;