mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
28 lines
728 B
Plaintext
28 lines
728 B
Plaintext
---
|
|
title: "OutputMessageItemPhaseUnion"
|
|
---
|
|
|
|
The phase of an assistant message. Use `commentary` for an intermediate assistant message and `final_answer` for the final assistant message. For follow-up requests with models like `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages. Omitting it can degrade performance. Not used for user messages.
|
|
|
|
|
|
## Supported Types
|
|
|
|
### `components.OutputMessageItemPhaseCommentary`
|
|
|
|
```python
|
|
value: components.OutputMessageItemPhaseCommentary = /* values here */
|
|
```
|
|
|
|
### `components.OutputMessageItemPhaseFinalAnswer`
|
|
|
|
```python
|
|
value: components.OutputMessageItemPhaseFinalAnswer = /* values here */
|
|
```
|
|
|
|
### `Any`
|
|
|
|
```python
|
|
value: Any = /* values here */
|
|
```
|
|
|