mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
Auto-generated Python SDK for OpenRouter API, providing comprehensive client library with: - Chat completions and streaming support - Embeddings API - Model and provider information - API key management - Analytics and usage tracking - OAuth authentication flows - Full type hints and error handling
5.3 KiB
5.3 KiB
OpenResponsesStreamEventResponseOutputItemDone
Event emitted when an output item is complete
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
type |
models.TypeResponseOutputItemDone | ✔️ | N/A | |
output_index |
float | ✔️ | N/A | |
item |
models.ResponsesOutputItem | ✔️ | An output item from the response | { "id": "msg-abc123", "role": "assistant", "type": "message", "status": "completed", "content": [ { "type": "output_text", "text": "Hello! How can I help you today?" } ] } |
sequence_number |
float | ✔️ | N/A |