@hivegpt/hiveai-angular 0.0.253 → 0.0.254

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.
@@ -379,37 +379,37 @@ class ChatDrawerComponent {
379
379
  if (online_search_terms && Array.isArray(online_search_terms)) {
380
380
  console.log('Online Search Terms:', online_search_terms);
381
381
  currentChatMessage.searchTerms = online_search_terms;
382
- this.cdr.markForCheck();
382
+ this.cdr.detectChanges();
383
383
  }
384
384
  if (web_results && Array.isArray(web_results)) {
385
385
  console.log('Web Results:', web_results);
386
386
  currentChatMessage.sourcesList = web_results;
387
387
  currentChatMessage.displayedSources = web_results === null || web_results === void 0 ? void 0 : web_results.slice(0, 3); // First 3 cards
388
388
  currentChatMessage.remainingSources = web_results === null || web_results === void 0 ? void 0 : web_results.slice(3); // Remaining items
389
- this.cdr.markForCheck();
389
+ this.cdr.detectChanges();
390
390
  }
391
391
  if (answer) {
392
392
  this.isChatingWithAi = false;
393
393
  console.log('Answer:', answer);
394
394
  currentChatMessage.message =
395
395
  this.processMessageForDisplay(answer);
396
- this.cdr.markForCheck();
396
+ this.cdr.detectChanges();
397
397
  this.scrollToBottom();
398
398
  }
399
399
  if (graphs && Array.isArray(graphs)) {
400
400
  console.log('Graphs:', graphs);
401
401
  currentChatMessage.graphs = graphs;
402
- this.cdr.markForCheck();
402
+ this.cdr.detectChanges();
403
403
  }
404
404
  if (execution_graphs && Array.isArray(execution_graphs)) {
405
405
  console.log('Execution Graphs:', execution_graphs);
406
406
  currentChatMessage.executionGraphs = execution_graphs;
407
- this.cdr.markForCheck();
407
+ this.cdr.detectChanges();
408
408
  }
409
409
  if (suggestions && Array.isArray(suggestions)) {
410
410
  console.log('suggestions:', suggestions);
411
411
  currentChatMessage.relatedListItems = suggestions;
412
- this.cdr.markForCheck();
412
+ this.cdr.detectChanges();
413
413
  // Process online search terms as needed
414
414
  }
415
415
  // Add any other fields and their processing here
@@ -1040,8 +1040,10 @@ class ChatDrawerComponent {
1040
1040
  const resutlt = this.copyText("messageText_" + index, index);
1041
1041
  }
1042
1042
  handleEditorClick(index) {
1043
+ debugger;
1043
1044
  if (this.currentIndexForEditor == -1) {
1044
1045
  this.currentIndexForEditor = index;
1046
+ debugger;
1045
1047
  this.currentMessageForEditor = this.chatLog[index].message;
1046
1048
  console.log("HTML1");
1047
1049
  console.log(this.currentMessageForEditor);