mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-31 12:30:30 +08:00
16 lines
3.9 KiB
Markdown
16 lines
3.9 KiB
Markdown
# ChatCompletionChunkChoiceDelta
|
|
|
|
Delta changes in streaming response
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
| `role` | [Optional[models.ChatCompletionChunkChoiceDeltaRole]](../models/chatcompletionchunkchoicedeltarole.md) | :heavy_minus_sign: | The role of the message author |
|
|
| `content` | *OptionalNullable[str]* | :heavy_minus_sign: | Message content delta |
|
|
| `reasoning` | *OptionalNullable[str]* | :heavy_minus_sign: | Reasoning content delta |
|
|
| `refusal` | *OptionalNullable[str]* | :heavy_minus_sign: | Refusal message delta |
|
|
| `tool_calls` | List[[models.ChatCompletionChunkChoiceDeltaToolCall](../models/chatcompletionchunkchoicedeltatoolcall.md)] | :heavy_minus_sign: | Tool calls delta |
|
|
| `reasoning_details` | List[[models.ReasoningDetail](../models/reasoningdetail.md)] | :heavy_minus_sign: | Reasoning details delta to send reasoning details back to upstream |
|
|
| `annotations` | List[[models.AnnotationDetail](../models/annotationdetail.md)] | :heavy_minus_sign: | Annotations delta to send annotations back to upstream | |