---
title: "ChatDebugOptions"
---

Debug options for inspecting request transformations (streaming only)


## Fields

| Field                                                                                                                                | Type                                                                                                                                 | Required                                                                                                                             | Description                                                                                                                          | Example                                                                                                                              |
| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
| `echo_upstream_body`                                                                                                                 | *Optional[bool]*                                                                                                                     | :heavy_minus_sign:                                                                                                                   | If true, includes the transformed upstream request body in a debug chunk at the start of the stream. Only works with streaming mode. | true                                                                                                                                 |