GitLab Classic Duo Chat not displaying streamed in messages

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

GitLab Duo chat interface gets stuck in an infinite loading state showing "GitLab Duo is working on an answer" without returning responses, despite successful connectivity and model processing.

Environment:

  • GitLab Version: GitLab EE 18.0
  • Model: Mistral 7b (self-hosted)
  • Interface: GitLab Duo web chat

The GitLab Duo chat interface displays an endless loading message "GitLab Duo is working on an answer" and never returns responses to user queries.

When navigating to the history tab and reopening the thread the answers appear, indicating that the Backend has all answers and this is more about displaying the streaming messages than anything else.

Initial report: https://gitlab.slack.com/archives/C06D5C70MD2/p1751871573433529

Edited by 🤖 GitLab Bot 🤖