mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
10 lines
1.4 KiB
Markdown
10 lines
1.4 KiB
Markdown
# UserMessage
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
|
|
| `role` | *Literal["user"]* | :heavy_check_mark: | N/A |
|
|
| `content` | [components.UserMessageContent](../components/usermessagecontent.md) | :heavy_check_mark: | N/A |
|
|
| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | |