Files
openrouter-python-sdk-retry…/docs/components/outputmessage.md
T
OpenRouter SDK Bot 5ab44f08f0 feat: regenerate SDK with updated OpenAPI spec
Speakeasy regeneration with latest schema changes including
type renames and new server tool models.
2026-03-27 15:18:14 -04:00

10 KiB
Raw Blame History

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.