From 4a1e3c2231e372ade5960842bf2dc50ccff3d08e Mon Sep 17 00:00:00 2001 From: cryptooda Date: Wed, 7 Jan 2026 18:16:54 +0700 Subject: [PATCH] Update LlmController and AiChat component to improve message clarity - Changed progress update message in LlmController from "Sending request to LLM..." to "Thinking..." for better user understanding. - Updated filtered messages in AiChat component to reflect the new progress update message, ensuring consistency in user experience. --- src/Managing.Api/Controllers/LlmController.cs | 2 +- src/Managing.WebApp/src/components/organism/AiChat.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Managing.Api/Controllers/LlmController.cs b/src/Managing.Api/Controllers/LlmController.cs index e8e34635..cd839e0b 100644 --- a/src/Managing.Api/Controllers/LlmController.cs +++ b/src/Managing.Api/Controllers/LlmController.cs @@ -348,7 +348,7 @@ public class LlmController : BaseController await PublishProgressUpdate(streamId, new LlmProgressUpdate { Type = "thinking", - Message = "Sending request to LLM...", + Message = "Thinking...", Iteration = iteration, MaxIterations = maxIterations }); diff --git a/src/Managing.WebApp/src/components/organism/AiChat.tsx b/src/Managing.WebApp/src/components/organism/AiChat.tsx index 88ac4e5a..1e62e54b 100644 --- a/src/Managing.WebApp/src/components/organism/AiChat.tsx +++ b/src/Managing.WebApp/src/components/organism/AiChat.tsx @@ -109,7 +109,7 @@ function AiChat({ onClose }: AiChatProps): JSX.Element { // Messages to filter out (internal/system messages not useful for users) // These only appear when developerMode is enabled const filteredMessages = [ - 'Sending request to LLM...', + 'Thinking...', 'Waiting briefly to respect rate limits...', 'Initializing conversation and loading available tools...' ]