CreateChatCompletionRequestMessage: {
    content:
        | undefined
        | null
        | string
        | ChatCompletionContentPartText[]
        | ChatCompletionContentPart[]
        | (ChatCompletionContentPartText | ChatCompletionContentPartRefusal)[];
    role:
        | "function"
        | "system"
        | "assistant"
        | "user"
        | "tool";
}

Type declaration

ChatCompletionMessageParam should be used instead