Add Typing Indicator ("AI is thinking...") or ("AI is processing") to Improve User Feedback in AI Chat Explorer

Created on 29 April 2025, 14 days ago

Problem/Motivation

Currently, when a user checks the Streamed checkbox and clicks the "Ask AI" button in AI Chat Explorer, there is no immediate feedback that the request is being processed until the response actually appears.
This can make users feel like the system is unresponsive, especially when using streamed responses that have an initial delay.
Without a "thinking" indicator or feedback message, users may click multiple times or assume the AI is stuck.

Steps to reproduce

1. Set up and configure an AI provider.
2. Go to /admin/config/ai/explorers/chat_generator.
3. Enter a prompt and check the "Streamed" checkbox.
4. Click the "Ask The AI" button.
Notice that no loading indicator or feedback appears until the response starts arriving.

Proposed resolution

- Add a simple "AI is thinking..." or "AI is processing" text or spinner that appears immediately after the button is clicked.
- Hide the text or spinner once the first chunk of streamed text is received.


- User clicks "Ask AI."
- A loading message like "AI is thinking..." immediately appears.
- When AI starts responding, the message disappears, and real AI output appears.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.1

Component

AI Core module

Created by

🇮🇳India Ishani Patel

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

Comments & Activities

Production build 0.71.5 2024