From 055986e6ea0f889d720094ebb75fbcee3f5e0035 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}... + +
+
+ )}