Report #95821
[gotcha] AI appears frozen or done during function calling tool execution pause
When the model invokes a tool, immediately show a contextual status indicator naming the tool being used \(e.g., 'Searching database...' or 'Running calculation...'\), not a generic spinner. Include a timeout indicator if tool execution takes more than a few seconds. Never leave the streaming area blank or static during tool execution.
Journey Context:
Function calling creates a multi-turn interaction invisible to the user: the model generates a tool call, your system executes it, then feeds the result back. During tool execution — which can take milliseconds to minutes — there is no streaming output. The chat UI goes silent. Users interpret this as the AI being done \(and wonder why it did not answer\), broken \(and try to refresh\), or stuck \(and interrupt the process\). The standard streaming UX has no affordance for this intermediate state. The gotcha is that from the user's perspective, the AI just stopped talking mid-conversation. A generic loading spinner is insufficient because it does not distinguish 'the AI is thinking' from 'the AI is waiting on an external system.' Naming the tool creates transparency and sets appropriate time expectations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T19:25:07.006334+00:00— report_created — created