mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
25 lines
405 B
Plaintext
25 lines
405 B
Plaintext
---
|
|
title: "ProviderSort"
|
|
---
|
|
|
|
The provider sorting strategy (price, throughput, latency)
|
|
|
|
## Example Usage
|
|
|
|
```python
|
|
from openrouter.components import ProviderSort
|
|
|
|
# Open enum: unrecognized values are captured as UnrecognizedStr
|
|
value: ProviderSort = "price"
|
|
```
|
|
|
|
|
|
## Values
|
|
|
|
This is an open enum. Unrecognized values will not fail type checks.
|
|
|
|
- `"price"`
|
|
- `"throughput"`
|
|
- `"latency"`
|
|
- `"exacto"`
|