bug: Fixed double message bug

What does this MR do and why?

Fixed double message bug

Changelog: fixed EE: true

References

Screenshots or screen recordings

Before After
before after

How to set up and validate locally

How to set up and validate locally

  1. Make sure that Duo Agentic Chat is available locally:
  • Classic Duo Chat is available: current_user.can?(:access_duo_chat, project) is true

  • duo_agentic_chat feature flag is enabled

  • Duo Workflow Service is available:

    • duo_workflow feature is enabled
    • configured config/gitlab.yml
    development:
      duo_workflow:
        service_url: 0.0.0.0:50052
        secure: false
  1. Feature flag duo_workflow_workhorse is enabled and Duo Agentic Chat icon is shown near classic Duo Chat button
  2. Visit http://gdk.test:3333 to match the Workhorse port to be able to connect to it via Websockets
  3. Perform a request like explain this MR from a merge request page
  4. The result takes the current context into account

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading