Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id | components.IDAutoRouter | :heavy_check_mark: | N/A | |
enabled | Optional[bool] | :heavy_minus_sign: | Set to false to disable the auto-router plugin for this request. Defaults to true. | |
allowed_models | List[str] | :heavy_minus_sign: | List of model patterns to filter which models the auto-router can route between. Supports wildcards (e.g., “anthropic/*” matches all Anthropic models). When not specified, uses the default supported models list. | [ “anthropic/”, “openai/gpt-4o”, “google/” ] |