@hivegpt/hiveai-angular 0.0.195 → 0.0.196

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.
@@ -819,14 +819,14 @@
819
819
  if (online_search_terms && Array.isArray(online_search_terms)) {
820
820
  console.log('Online Search Terms:', online_search_terms);
821
821
  currentChatMessage.searchTerms = online_search_terms;
822
- _this.cdr.detectChanges();
822
+ _this.cdr.markForCheck();
823
823
  }
824
824
  if (web_results && Array.isArray(web_results)) {
825
825
  console.log('Web Results:', web_results);
826
826
  currentChatMessage.sourcesList = web_results;
827
827
  currentChatMessage.displayedSources = web_results === null || web_results === void 0 ? void 0 : web_results.slice(0, 3); // First 3 cards
828
828
  currentChatMessage.remainingSources = web_results === null || web_results === void 0 ? void 0 : web_results.slice(3); // Remaining items
829
- _this.cdr.detectChanges();
829
+ _this.cdr.markForCheck();
830
830
  }
831
831
  if (answer) {
832
832
  _this.isChatingWithAi = false;
@@ -839,17 +839,17 @@
839
839
  if (financial_graphs && Array.isArray(financial_graphs)) {
840
840
  console.log('Financial Graphs:', financial_graphs);
841
841
  currentChatMessage.financialGraphs = financial_graphs;
842
- _this.cdr.detectChanges();
842
+ _this.cdr.markForCheck();
843
843
  }
844
844
  if (execution_graphs && Array.isArray(execution_graphs)) {
845
845
  console.log('Execution Graphs:', execution_graphs);
846
846
  currentChatMessage.executionGraphs = execution_graphs;
847
- _this.cdr.detectChanges();
847
+ _this.cdr.markForCheck();
848
848
  }
849
849
  if (suggestions && Array.isArray(suggestions)) {
850
850
  console.log('suggestions:', suggestions);
851
851
  currentChatMessage.relatedListItems = suggestions;
852
- _this.cdr.detectChanges();
852
+ _this.cdr.markForCheck();
853
853
  // Process online search terms as needed
854
854
  }
855
855
  // Add any other fields and their processing here