mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
13 lines
1.4 KiB
Plaintext
13 lines
1.4 KiB
Plaintext
---
|
|
title: "ChatStreamChunkMetadata"
|
|
---
|
|
|
|
Structured error metadata
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description | Example |
|
|
| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- |
|
|
| `error_type` | [components.APIErrorType](../components/apierrortype.mdx) | :heavy_check_mark: | Canonical OpenRouter error type, stable across all API formats | rate_limit_exceeded |
|
|
| `provider_code` | *Optional[str]* | :heavy_minus_sign: | Upstream provider-specific error code, when available | | |