mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
40 lines
647 B
Plaintext
40 lines
647 B
Plaintext
---
|
|
title: "ChatMessages"
|
|
---
|
|
|
|
Chat completion message with role-based discrimination
|
|
|
|
|
|
## Supported Types
|
|
|
|
### `components.ChatAssistantMessage`
|
|
|
|
```python
|
|
value: components.ChatAssistantMessage = /* values here */
|
|
```
|
|
|
|
### `components.ChatDeveloperMessage`
|
|
|
|
```python
|
|
value: components.ChatDeveloperMessage = /* values here */
|
|
```
|
|
|
|
### `components.ChatSystemMessage`
|
|
|
|
```python
|
|
value: components.ChatSystemMessage = /* values here */
|
|
```
|
|
|
|
### `components.ChatToolMessage`
|
|
|
|
```python
|
|
value: components.ChatToolMessage = /* values here */
|
|
```
|
|
|
|
### `components.ChatUserMessage`
|
|
|
|
```python
|
|
value: components.ChatUserMessage = /* values here */
|
|
```
|
|
|