mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
Speakeasy regeneration with latest schema changes including type renames and new server tool models.
10 KiB
10 KiB
OutputMessage
Fields
| Field | Type | Required | Description |
|---|---|---|---|
id |
str | ✔️ | N/A |
role |
components.OutputMessageRole | ✔️ | N/A |
type |
components.OutputMessageType | ✔️ | N/A |
status |
Optional[components.OutputMessageStatusUnion] | ➖ | N/A |
content |
List[components.OutputMessageContent] | ✔️ | N/A |
phase |
OptionalNullable[components.OutputMessagePhaseUnion] | ➖ | 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. |