Skip to content

With client side tool calls status remains ready after initial tool call. #1157

@fragglebob

Description

@fragglebob

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

  1. Have a client side tool call
  2. LLM calls client side tool
  3. User takes action to generate tool output - calls addToolOutput
  4. 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions