mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
36 lines
740 B
Plaintext
36 lines
740 B
Plaintext
---
|
|
title: "Subcategory"
|
|
---
|
|
|
|
Marketplace subcategory to filter by (e.g. `cli-agent`). Takes precedence over `category` for the actual filter; when `category` is also supplied the pair must be consistent.
|
|
|
|
## Example Usage
|
|
|
|
```python
|
|
from openrouter.operations import Subcategory
|
|
|
|
# Open enum: unrecognized values are captured as UnrecognizedStr
|
|
value: Subcategory = "cli-agent"
|
|
```
|
|
|
|
|
|
## Values
|
|
|
|
This is an open enum. Unrecognized values will not fail type checks.
|
|
|
|
- `"cli-agent"`
|
|
- `"ide-extension"`
|
|
- `"cloud-agent"`
|
|
- `"programming-app"`
|
|
- `"native-app-builder"`
|
|
- `"creative-writing"`
|
|
- `"video-gen"`
|
|
- `"image-gen"`
|
|
- `"audio-gen"`
|
|
- `"roleplay"`
|
|
- `"game"`
|
|
- `"writing-assistant"`
|
|
- `"general-chat"`
|
|
- `"personal-agent"`
|
|
- `"legal"`
|