mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
21 lines
328 B
Plaintext
21 lines
328 B
Plaintext
---
|
|
title: "Reason"
|
|
---
|
|
|
|
## Example Usage
|
|
|
|
```python
|
|
from openrouter.components import Reason
|
|
|
|
# Open enum: unrecognized values are captured as UnrecognizedStr
|
|
value: Reason = "max_output_tokens"
|
|
```
|
|
|
|
|
|
## Values
|
|
|
|
This is an open enum. Unrecognized values will not fail type checks.
|
|
|
|
- `"max_output_tokens"`
|
|
- `"content_filter"`
|