diff --git a/web/public/locales/en/views/chat.json b/web/public/locales/en/views/chat.json index d85fdb4ac..29078ff54 100644 --- a/web/public/locales/en/views/chat.json +++ b/web/public/locales/en/views/chat.json @@ -1,4 +1,5 @@ { "placeholder": "Ask anything...", - "error": "Something went wrong. Please try again." + "error": "Something went wrong. Please try again.", + "processing": "Processing..." } diff --git a/web/src/pages/Chat.tsx b/web/src/pages/Chat.tsx index f8802da45..65c270d39 100644 --- a/web/src/pages/Chat.tsx +++ b/web/src/pages/Chat.tsx @@ -60,6 +60,11 @@ export default function ChatPage() { {msg.content} ))} + {isLoading && ( +
+ {t("processing")} +
+ )} {error && (

{error}