<!--
 ⚠️  AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
 This file is automatically generated by scripts/docs-generator.js
 To make changes, edit the source TypeScript files or update the generator script
-->

[agents](../../) / [Exports](../modules) / IStreamingChunk

# Interface: IStreamingChunk

Streaming response chunk

## Table of contents

### Properties

- [delta](IStreamingChunk#delta)
- [done](IStreamingChunk#done)
- [toolCalls](IStreamingChunk#toolcalls)
- [usage](IStreamingChunk#usage)

## Properties

### delta

• **delta**: `string`

Content delta

#### Defined in

[packages/agents/src/interfaces/service.ts:98](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/service.ts#L98)

---

### done

• **done**: `boolean`

Whether this is the final chunk

#### Defined in

[packages/agents/src/interfaces/service.ts:100](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/service.ts#L100)

---

### toolCalls

• `Optional` **toolCalls**: [`IToolCall`](IToolCall)[]

Tool calls if any

#### Defined in

[packages/agents/src/interfaces/service.ts:102](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/service.ts#L102)

---

### usage

• `Optional` **usage**: `Object`

Usage statistics (only in final chunk)

#### Type declaration

| Name               | Type     |
| :----------------- | :------- |
| `promptTokens`     | `number` |
| `completionTokens` | `number` |
| `totalTokens`      | `number` |

#### Defined in

[packages/agents/src/interfaces/service.ts:104](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/service.ts#L104)
