mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
13 lines
2.8 KiB
Markdown
13 lines
2.8 KiB
Markdown
# CompletionChoice
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
|
| `text` | *str* | :heavy_check_mark: | N/A |
|
|
| `index` | *float* | :heavy_check_mark: | N/A |
|
|
| `logprobs` | [Nullable[components.CompletionLogprobs]](../components/completionlogprobs.md) | :heavy_check_mark: | N/A |
|
|
| `finish_reason` | [Nullable[components.CompletionFinishReason]](../components/completionfinishreason.md) | :heavy_check_mark: | N/A |
|
|
| `native_finish_reason` | *Optional[str]* | :heavy_minus_sign: | N/A |
|
|
| `reasoning` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |