Example Usage
import { PrivateEndpointSettingsReasoning } from "@openrouter/sdk/models";
let value: PrivateEndpointSettingsReasoning = {
returnMechanism: "reasoning",
supported: true,
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
returnMechanism | models.PrivateEndpointReasoningReturnMechanism | ✔️ | Where the upstream puts reasoning tokens in its response: reasoning and reasoning-content are response fields, content-string is inline in the message, none returns no reasoning. null uses the provider default. | reasoning |
supported | boolean | ✔️ | Whether requests with reasoning route to this endpoint. | true |