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