From b9bc22eaf0441923a5dcf8a10af695d1b1b138fb Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 7 Dec 2025 15:25:55 -0600 Subject: [PATCH] Improve image generation loading state --- src/components/Shakespeare/ChatPane.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/components/Shakespeare/ChatPane.tsx b/src/components/Shakespeare/ChatPane.tsx index c35e0f58..6140960e 100644 --- a/src/components/Shakespeare/ChatPane.tsx +++ b/src/components/Shakespeare/ChatPane.tsx @@ -611,6 +611,8 @@ export const ChatPane = forwardRef(({ // "Waiting for ..." if last tool call is still executing if (lastToolCall?.type === 'function') { + const isGenerateImageTool = lastToolCall.function.name === 'generate_image'; + return (
@@ -619,6 +621,17 @@ export const ChatPane = forwardRef(({ {t('waitingForTool', { tool: lastToolCall.function.name })}
+ {/* Special placeholder for generate_image tool */} + {isGenerateImageTool && ( +
+
+ +
+ +
+
+
+ )}
); }