@dataclouder/ngx-agent-cards 0.1.71 → 0.1.72

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.
@@ -4418,7 +4418,7 @@ class DCChatComponent {
4418
4418
  this.chatMonitorService = inject(ChatMonitorService);
4419
4419
  this.conversationInfoService = inject(ConversationInfoService);
4420
4420
  // 📥 Inputs
4421
- this.chatUserSettings = this.userService.user()?.settings?.conversation; // Default to user data exchange
4421
+ this.chatUserSettings = null; // Default to user data exchange
4422
4422
  this.conversationFlow = null;
4423
4423
  // 📤 Input Signals
4424
4424
  this.parseDict = input({}, ...(ngDevMode ? [{ debugName: "parseDict" }] : []));
@@ -4466,6 +4466,9 @@ class DCChatComponent {
4466
4466
  async ngOnInit() {
4467
4467
  this.conversationService.setDestroyed(false);
4468
4468
  this.chatMonitorService.isConversationActive.set(true);
4469
+ if (!this.chatUserSettings) {
4470
+ this.chatUserSettings = this.userService.user()?.settings?.conversation;
4471
+ }
4469
4472
  if (this.conversationSettings) {
4470
4473
  await this.conversationService.initConversationWithSettings(this.conversationSettings, this.conversationFlow);
4471
4474
  }