mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
docs: Mintlify MDX docs + docs.json; bump Speakeasy to 1.787.0 (#382)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
---
|
||||
title: "ChatStreamChoice"
|
||||
---
|
||||
|
||||
Streaming completion choice chunk
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
|
||||
| `delta` | [components.ChatStreamDelta](../components/chatstreamdelta.mdx) | :heavy_check_mark: | Delta changes in streaming response | \{<br/>"content": "Hello",<br/>"role": "assistant"<br/>} |
|
||||
| `finish_reason` | [Nullable[components.ChatFinishReasonEnum]](../components/chatfinishreasonenum.mdx) | :heavy_check_mark: | N/A | stop |
|
||||
| `index` | *int* | :heavy_check_mark: | Choice index | 0 |
|
||||
| `logprobs` | [OptionalNullable[components.ChatTokenLogprobs]](../components/chattokenlogprobs.mdx) | :heavy_minus_sign: | Log probabilities for the completion | \{<br/>"content": [<br/>\{<br/>"bytes": null,<br/>"logprob": -0.612345,<br/>"token": " Hello",<br/>"top_logprobs": []<br/>}<br/>],<br/>"refusal": null<br/>} |
|
||||
Reference in New Issue
Block a user