mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-01 12:40:23 +08:00
- 45687f423707f5838461585c568a024a19eb2f06 - 3103d3ca68b6e42ccdb6136588ec2b6edc8dcab0 - fd9f991606027cd86116317c71f8eb7b4e2aa3eb - 0f312019161edd76c1e5923d142c788d22f096d5 - 5dbab2094bc744db4a90b3097520d897e5d0d634 - 4c47d1af1735db18a1c1a7f463e801c7f71ad4e5 GitOrigin-RevId: 45687f423707f5838461585c568a024a19eb2f06
15 lines
3.9 KiB
Markdown
15 lines
3.9 KiB
Markdown
# AssistantMessage
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
|
|
| `role` | *Literal["assistant"]* | :heavy_check_mark: | N/A |
|
|
| `content` | [OptionalNullable[components.AssistantMessageContent]](../components/assistantmessagecontent.md) | :heavy_minus_sign: | N/A |
|
|
| `name` | *Optional[str]* | :heavy_minus_sign: | N/A |
|
|
| `tool_calls` | List[[components.ChatMessageToolCall](../components/chatmessagetoolcall.md)] | :heavy_minus_sign: | N/A |
|
|
| `refusal` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
|
|
| `reasoning` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
|
|
| `reasoning_details` | List[[components.Schema20](../components/schema20.md)] | :heavy_minus_sign: | N/A |
|
|
| `images` | List[[components.Image](../components/image.md)] | :heavy_minus_sign: | N/A | |