mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-01 12:40:23 +08:00
16 lines
3.0 KiB
Markdown
16 lines
3.0 KiB
Markdown
# ChatCompletionChunk
|
|
|
|
Streaming chat completion chunk
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
|
|
| `id` | *str* | :heavy_check_mark: | N/A |
|
|
| `choices` | List[[models.ChatCompletionChunkChoice](../models/chatcompletionchunkchoice.md)] | :heavy_check_mark: | N/A |
|
|
| `created` | *float* | :heavy_check_mark: | N/A |
|
|
| `model` | *str* | :heavy_check_mark: | N/A |
|
|
| `object` | [models.ChatCompletionChunkObject](../models/chatcompletionchunkobject.md) | :heavy_check_mark: | N/A |
|
|
| `system_fingerprint` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
|
|
| `usage` | [Optional[models.CompletionUsage]](../models/completionusage.md) | :heavy_minus_sign: | Token usage statistics | |