diff --git a/app/components/chat.tsx b/app/components/chat.tsx
index bdeaf358076..c0ee58a2b8e 100644
--- a/app/components/chat.tsx
+++ b/app/components/chat.tsx
@@ -1353,6 +1353,9 @@ function _Chat() {
{messages.map((message, i) => {
const isUser = message.role === "user";
const isContext = i < context.length;
+ const isAssistant = message.role === "assistant";
+ const isDallEModel = session.mask.modelConfig.model.startsWith("dall-e");
+
const showActions =
i > 0 &&
!(message.preview || message.content.length === 0) &&
@@ -1450,11 +1453,13 @@ function _Chat() {
)}
- {showTyping && (
+ {showTyping && (isAssistant || isUser) ? (
- {Locale.Chat.Typing}
+ {isAssistant && isDallEModel
+ ? Locale.Chat.GeneratingImage
+ : Locale.Chat.Typing}
- )}
+ ) : null}
{
var inputHints = `${submitKey} 发送`;
if (submitKey === String(SubmitKey.Enter)) {
diff --git a/app/locales/en.ts b/app/locales/en.ts
index d4e92011960..065c6aa7341 100644
--- a/app/locales/en.ts
+++ b/app/locales/en.ts
@@ -105,6 +105,7 @@ const en: LocaleType = {
},
Rename: "Rename Chat",
Typing: "Typing…",
+ GeneratingImage: "Generating Images…",
Input: (submitKey: string) => {
var inputHints = `${submitKey} to send`;
if (submitKey === String(SubmitKey.Enter)) {
diff --git a/app/locales/id.ts b/app/locales/id.ts
index a76e7a30b91..acb2cdeec0f 100644
--- a/app/locales/id.ts
+++ b/app/locales/id.ts
@@ -92,6 +92,7 @@ const id: PartialLocaleType = {
},
Rename: "Ubah Nama Chat",
Typing: "Mengetik...",
+ GeneratingImage: "Menghasilkan Gambar...",
Input: (submitKey: string) => {
var inputHints = `${submitKey} untuk mengirim`;
if (submitKey === String(SubmitKey.Enter)) {