diff --git a/apps/rowboat/app/projects/[projectId]/copilot/app.tsx b/apps/rowboat/app/projects/[projectId]/copilot/app.tsx
index 2e901e7f..b3704a15 100644
--- a/apps/rowboat/app/projects/[projectId]/copilot/app.tsx
+++ b/apps/rowboat/app/projects/[projectId]/copilot/app.tsx
@@ -265,18 +265,10 @@ const App = forwardRef<{ handleCopyChat: () => void; handleUserMessage: (message
workflow={workflowRef.current}
dispatch={dispatch}
onStatusBarChange={handleStatusBarChange}
+ toolCalling={toolCalling}
+ toolQuery={toolQuery}
/>
- {toolCalling && (
-
{responseError && (
diff --git a/apps/rowboat/app/projects/[projectId]/copilot/components/messages.tsx b/apps/rowboat/app/projects/[projectId]/copilot/components/messages.tsx
index c0e9865c..08db50cd 100644
--- a/apps/rowboat/app/projects/[projectId]/copilot/components/messages.tsx
+++ b/apps/rowboat/app/projects/[projectId]/copilot/components/messages.tsx
@@ -507,7 +507,9 @@ export function Messages({
loadingResponse,
workflow,
dispatch,
- onStatusBarChange
+ onStatusBarChange,
+ toolCalling,
+ toolQuery
}: {
messages: z.infer[];
streamingResponse: string;
@@ -515,6 +517,8 @@ export function Messages({
workflow: z.infer;
dispatch: (action: any) => void;
onStatusBarChange?: (status: any) => void;
+ toolCalling?: boolean;
+ toolQuery?: string | null;
}) {
const messagesEndRef = useRef(null);
const [displayMessages, setDisplayMessages] = useState(messages);
@@ -582,11 +586,15 @@ export function Messages({
{renderMessage(message, index)}
))}
- {loadingResponse && (
-
-
+ {!streamingResponse && (toolCalling ? (
+
+ Searching for tools{toolQuery ? ` to ${toolQuery}` : ''}...
- )}
+ ) : loadingResponse ? (
+
+ Thinking...
+
+ ) : null)}