Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Debug options for inspecting request transformations (streaming only)

Example Usage

import { ChatDebugOptions } from "@openrouter/sdk/models";

let value: ChatDebugOptions = {};

Fields

FieldTypeRequiredDescriptionExample
echoUpstreamBodyboolean: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