From a70399b7808aae0fb4af93cc410740cd7d192a15 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 24 Aug 2025 22:13:25 -0500 Subject: [PATCH] Add tool call loading indicator --- src/components/Shakespeare/ChatPane.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/components/Shakespeare/ChatPane.tsx b/src/components/Shakespeare/ChatPane.tsx index 90b453a9..f933aa82 100644 --- a/src/components/Shakespeare/ChatPane.tsx +++ b/src/components/Shakespeare/ChatPane.tsx @@ -414,6 +414,16 @@ BASE_DOMAIN=nostrdeploy.com`); ) )} + {streamingMessage?.tool_calls?.[0]?.type === 'function' && ( +
+
+ + + Running {streamingMessage.tool_calls[0].function.name}... + +
+
+ )}