> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ChatDebugOptions - Python SDK

> ChatDebugOptions method reference

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).
</Warning>

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    |
