@@ -422,12 +422,14 @@ export interface EasyInputMessage {
422422 role : 'user' | 'assistant' | 'system' | 'developer' ;
423423
424424 /**
425- * Labels an `assistant` message as intermediate commentary (`commentary`) or the
426- * final answer (`final_answer`). For models like `gpt-5.3-codex` and beyond, when
427- * sending follow-up requests, preserve and resend phase on all assistant messages
428- * — dropping it can degrade performance. Not used for user messages.
425+ * The phase of an assistant message.
426+ *
427+ * Use `commentary` for an intermediate assistant message and `final_answer` for
428+ * the final assistant message. For follow-up requests with models like
429+ * `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages.
430+ * Omitting it can degrade performance. Not used for user messages.
429431 */
430- phase ?: 'commentary' | null ;
432+ phase ?: 'commentary' | 'final_answer' | null ;
431433
432434 /**
433435 * The type of the message input. Always `message`.
@@ -4751,12 +4753,14 @@ export interface ResponseOutputMessage {
47514753 type : 'message' ;
47524754
47534755 /**
4754- * Labels an `assistant` message as intermediate commentary (`commentary`) or the
4755- * final answer (`final_answer`). For models like `gpt-5.3-codex` and beyond, when
4756- * sending follow-up requests, preserve and resend phase on all assistant messages
4757- * — dropping it can degrade performance. Not used for user messages.
4756+ * The phase of an assistant message.
4757+ *
4758+ * Use `commentary` for an intermediate assistant message and `final_answer` for
4759+ * the final assistant message. For follow-up requests with models like
4760+ * `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages.
4761+ * Omitting it can degrade performance. Not used for user messages.
47584762 */
4759- phase ?: 'commentary' | null ;
4763+ phase ?: 'commentary' | 'final_answer' | null ;
47604764}
47614765
47624766/**
0 commit comments