mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
26 lines
497 B
Plaintext
26 lines
497 B
Plaintext
---
|
|
title: "DisplayFormat"
|
|
---
|
|
|
|
How this metric value should be formatted for display (e.g. percent → multiply by 100 and append %, currency → prefix with $)
|
|
|
|
## Example Usage
|
|
|
|
```python
|
|
from openrouter.operations import DisplayFormat
|
|
|
|
# Open enum: unrecognized values are captured as UnrecognizedStr
|
|
value: DisplayFormat = "number"
|
|
```
|
|
|
|
|
|
## Values
|
|
|
|
This is an open enum. Unrecognized values will not fail type checks.
|
|
|
|
- `"number"`
|
|
- `"currency"`
|
|
- `"percent"`
|
|
- `"latency"`
|
|
- `"throughput"`
|