ChatFormatPythonConfig - TypeScript SDK

ChatFormatPythonConfig type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Python code response format

Example Usage

1import { ChatFormatPythonConfig } from "@openrouter/sdk/models";
2
3let value: ChatFormatPythonConfig = {
4 type: "python",
5};

Fields

FieldTypeRequiredDescription
type”python”✔️N/A