Skip to content
1 min read · 165 words

Interface: OpenAIResponsesOutputMessageItem ​

Defined in: src/batteries/llm/openai_responses/types.ts:129

An assistant output-message item, in the OUTPUT shape (not the input shape) — used when replaying the ADK's OWN prior assistant text back into input, so the reasoning-pairing validator (see the Known Gotchas) recognizes it correctly as a genuine prior output item.

Properties ​

PropertyTypeDescriptionDefined in
contentOpenAIResponsesOutputMessageContentPart[]The message's output content parts (text and/or refusal).src/batteries/llm/openai_responses/types.ts:139
id?stringThe item's id, as assigned by the provider.src/batteries/llm/openai_responses/types.ts:137
role"assistant"Always 'assistant' on an output-shaped message item.src/batteries/llm/openai_responses/types.ts:133
status?"completed" | "incomplete" | "in_progress"Present on replay ('completed'); the live streaming path observes richer statuses.src/batteries/llm/openai_responses/types.ts:135
type"message"Item discriminator; always 'message' for an output message.src/batteries/llm/openai_responses/types.ts:131