Fix duplicate deep chat intro message after clearing history on front-end themes

Created on 6 April 2025, 18 days ago

Problem/Motivation

When clearing history, the deep chat intro message appears twice when used with front-end themes.

Before the fix:

Proposed resolution

Remove

            deepchatElement.addMessage({
              role: 'assistant',
              text: drupalSettings.ai_deepchat.first_message,
            });

When the deep chat intro is the same as the first_message

Remaining tasks

User interface changes

After the fix:

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Other Submodules

Created by

🇯🇴Jordan Rajab Natshah Jordan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024