@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.
- package/bundles/hivegpt-hiveai-angular.umd.js +8 -6
- package/bundles/hivegpt-hiveai-angular.umd.js.map +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js.map +1 -1
- package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +9 -7
- package/fesm2015/hivegpt-hiveai-angular.js +8 -6
- package/fesm2015/hivegpt-hiveai-angular.js.map +1 -1
- package/lib/components/chat-drawer/chat-drawer.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -846,37 +846,37 @@
|
|
|
846
846
|
if (online_search_terms && Array.isArray(online_search_terms)) {
|
|
847
847
|
console.log('Online Search Terms:', online_search_terms);
|
|
848
848
|
currentChatMessage.searchTerms = online_search_terms;
|
|
849
|
-
_this.cdr.
|
|
849
|
+
_this.cdr.detectChanges();
|
|
850
850
|
}
|
|
851
851
|
if (web_results && Array.isArray(web_results)) {
|
|
852
852
|
console.log('Web Results:', web_results);
|
|
853
853
|
currentChatMessage.sourcesList = web_results;
|
|
854
854
|
currentChatMessage.displayedSources = web_results === null || web_results === void 0 ? void 0 : web_results.slice(0, 3); // First 3 cards
|
|
855
855
|
currentChatMessage.remainingSources = web_results === null || web_results === void 0 ? void 0 : web_results.slice(3); // Remaining items
|
|
856
|
-
_this.cdr.
|
|
856
|
+
_this.cdr.detectChanges();
|
|
857
857
|
}
|
|
858
858
|
if (answer) {
|
|
859
859
|
_this.isChatingWithAi = false;
|
|
860
860
|
console.log('Answer:', answer);
|
|
861
861
|
currentChatMessage.message =
|
|
862
862
|
_this.processMessageForDisplay(answer);
|
|
863
|
-
_this.cdr.
|
|
863
|
+
_this.cdr.detectChanges();
|
|
864
864
|
_this.scrollToBottom();
|
|
865
865
|
}
|
|
866
866
|
if (graphs && Array.isArray(graphs)) {
|
|
867
867
|
console.log('Graphs:', graphs);
|
|
868
868
|
currentChatMessage.graphs = graphs;
|
|
869
|
-
_this.cdr.
|
|
869
|
+
_this.cdr.detectChanges();
|
|
870
870
|
}
|
|
871
871
|
if (execution_graphs && Array.isArray(execution_graphs)) {
|
|
872
872
|
console.log('Execution Graphs:', execution_graphs);
|
|
873
873
|
currentChatMessage.executionGraphs = execution_graphs;
|
|
874
|
-
_this.cdr.
|
|
874
|
+
_this.cdr.detectChanges();
|
|
875
875
|
}
|
|
876
876
|
if (suggestions && Array.isArray(suggestions)) {
|
|
877
877
|
console.log('suggestions:', suggestions);
|
|
878
878
|
currentChatMessage.relatedListItems = suggestions;
|
|
879
|
-
_this.cdr.
|
|
879
|
+
_this.cdr.detectChanges();
|
|
880
880
|
// Process online search terms as needed
|
|
881
881
|
}
|
|
882
882
|
// Add any other fields and their processing here
|
|
@@ -1520,8 +1520,10 @@
|
|
|
1520
1520
|
};
|
|
1521
1521
|
ChatDrawerComponent.prototype.handleEditorClick = function (index) {
|
|
1522
1522
|
var _this = this;
|
|
1523
|
+
debugger;
|
|
1523
1524
|
if (this.currentIndexForEditor == -1) {
|
|
1524
1525
|
this.currentIndexForEditor = index;
|
|
1526
|
+
debugger;
|
|
1525
1527
|
this.currentMessageForEditor = this.chatLog[index].message;
|
|
1526
1528
|
console.log("HTML1");
|
|
1527
1529
|
console.log(this.currentMessageForEditor);
|