The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { ChatGenerationParamsPluginAutoRouter } from "@openrouter/sdk/models";
let value: ChatGenerationParamsPluginAutoRouter = {
id: "auto-router",
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | ”auto-router” | :heavy_check_mark: | N/A |
enabled | boolean | :heavy_minus_sign: | N/A |
allowedModels | string[] | :heavy_minus_sign: | N/A |