mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
44 lines
749 B
Plaintext
44 lines
749 B
Plaintext
---
|
|
title: "Parameter"
|
|
---
|
|
|
|
## Example Usage
|
|
|
|
```python
|
|
from openrouter.components import Parameter
|
|
|
|
# Open enum: unrecognized values are captured as UnrecognizedStr
|
|
value: Parameter = "temperature"
|
|
```
|
|
|
|
|
|
## Values
|
|
|
|
This is an open enum. Unrecognized values will not fail type checks.
|
|
|
|
- `"temperature"`
|
|
- `"top_p"`
|
|
- `"top_k"`
|
|
- `"min_p"`
|
|
- `"top_a"`
|
|
- `"frequency_penalty"`
|
|
- `"presence_penalty"`
|
|
- `"repetition_penalty"`
|
|
- `"max_tokens"`
|
|
- `"max_completion_tokens"`
|
|
- `"logit_bias"`
|
|
- `"logprobs"`
|
|
- `"top_logprobs"`
|
|
- `"seed"`
|
|
- `"response_format"`
|
|
- `"structured_outputs"`
|
|
- `"stop"`
|
|
- `"tools"`
|
|
- `"tool_choice"`
|
|
- `"parallel_tool_calls"`
|
|
- `"include_reasoning"`
|
|
- `"reasoning"`
|
|
- `"reasoning_effort"`
|
|
- `"web_search_options"`
|
|
- `"verbosity"`
|