> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://openrouter.ai/docs/llms.txt.
> For full documentation content, see https://openrouter.ai/docs/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://openrouter.ai/docs/_mcp/server.

# EasyInputMessagePhaseUnion - Python SDK

The Python SDK and docs are currently in beta.
Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).

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.EasyInputMessagePhaseCommentary`

```python
value: components.EasyInputMessagePhaseCommentary = /* values here */
```

### `components.EasyInputMessagePhaseFinalAnswer`

```python
value: components.EasyInputMessagePhaseFinalAnswer = /* values here */
```

### `Any`

```python
value: Any = /* values here */
```