Describe the bug
We are making use of client side tools calls with @cloudflare/ai-chat. We are looking at adding a status indicator to the interface, but after the initial tool call comes through to the client. The status never seems to be anything other than ready, even when things are streaming back during the next turn.
To Reproduce
- Have a client side tool call
- LLM calls client side tool
- User takes action to generate tool output - calls
addToolOutput
status remains ready
Expected behavior
After calling addToolOutput the status would be submitted. Then when response begins streaming back, status would be streaming, until streaming is complete.
Version:
agents: 0.7.9
@cloudflare/ai-chat: 0.1.9
Describe the bug
We are making use of client side tools calls with
@cloudflare/ai-chat. We are looking at adding a status indicator to the interface, but after the initial tool call comes through to the client. Thestatusnever seems to be anything other thanready, even when things are streaming back during the next turn.To Reproduce
addToolOutputstatusremainsreadyExpected behavior
After calling
addToolOutputthestatuswould besubmitted. Then when response begins streaming back,statuswould bestreaming, until streaming is complete.Version:
agents: 0.7.9@cloudflare/ai-chat: 0.1.9