@dataclouder/ngx-agent-cards 0.1.67 → 0.1.68

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.
@@ -1958,7 +1958,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
1958
1958
 
1959
1959
  class MessageProcessingService {
1960
1960
  processMessage(message, conversationSettings) {
1961
- console.log('processMessage conversation data', conversationSettings);
1962
1961
  const processedMessage = {
1963
1962
  ...message,
1964
1963
  messageId: message.messageId || nanoid(),
@@ -1972,7 +1971,6 @@ class MessageProcessingService {
1972
1971
  if (processedMessage.role === ChatRole.Assistant) {
1973
1972
  return this.processAssistantMessage(processedMessage, conversationSettings);
1974
1973
  }
1975
- console.log('processMessage processedMessage', processedMessage);
1976
1974
  return processedMessage;
1977
1975
  }
1978
1976
  processAssistantMessage(message, settings) {
@@ -2741,10 +2739,8 @@ class ConversationService {
2741
2739
  return this.wordClickedSignal;
2742
2740
  }
2743
2741
  createNewUserMessage() {
2744
- debugger;
2745
2742
  const message = { content: '...', role: ChatRole.User };
2746
2743
  const processedMessage = this.messageProcessingService.processMessage(message, this.conversationSettingsState());
2747
- console.log('processedMessage before add to state', processedMessage);
2748
2744
  this.messagesStateService.addMessage(processedMessage);
2749
2745
  return processedMessage.messageId;
2750
2746
  }
@@ -2798,7 +2794,6 @@ class ConversationService {
2798
2794
  if (!conversationSettings.avatarImages?.user) {
2799
2795
  conversationSettings.avatarImages.user = this.userService.user().urlPicture || DEFUALT_USER_AVATAR;
2800
2796
  }
2801
- console.log('initConversationWithSettings final antes de set', conversationSettings);
2802
2797
  this.conversationSettingsState.set(conversationSettings);
2803
2798
  this.dynamicFlowService.setConversationFlow(conversationFlow);
2804
2799
  await this.initConversation();
@@ -2822,7 +2817,6 @@ class ConversationService {
2822
2817
  const firstAssistantMsg = conversationSettings.messages.find((message) => message.role === ChatRole.Assistant);
2823
2818
  if (firstAssistantMsg) {
2824
2819
  // Process the first assistant message
2825
- debugger;
2826
2820
  const processedMessage = this.messageProcessingService.processMessage(firstAssistantMsg, this.conversationSettingsState());
2827
2821
  this.messagesStateService.updateMessage(firstAssistantMsg.messageId, processedMessage);
2828
2822
  // Find the index of the message with the matching ID
@@ -4401,7 +4395,6 @@ class DCChatComponent {
4401
4395
  this.conversationService.setDestroyed(false);
4402
4396
  this.chatMonitorService.isConversationActive.set(true);
4403
4397
  if (this.conversationSettings) {
4404
- console.log('iniciando conversación', this.conversationSettings);
4405
4398
  await this.conversationService.initConversationWithSettings(this.conversationSettings, this.conversationFlow);
4406
4399
  }
4407
4400
  else {