mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-31 12:30:30 +08:00
12 lines
2.0 KiB
Markdown
12 lines
2.0 KiB
Markdown
# ChatCompletionUserMessageParam
|
|
|
|
User message
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
|
|
| `role` | [models.ChatCompletionUserMessageParamRole](../models/chatcompletionusermessageparamrole.md) | :heavy_check_mark: | N/A |
|
|
| `content` | [models.ChatCompletionUserMessageParamContent](../models/chatcompletionusermessageparamcontent.md) | :heavy_check_mark: | User message content |
|
|
| `name` | *Optional[str]* | :heavy_minus_sign: | Optional name for the user | |