phoenixMessagesSchema: ZodArray<
    ZodObject<
        {
            content: ZodUnion<
                [
                    ZodString,
                    ZodArray<
                        ZodDiscriminatedUnion<
                            "type",
                            [
                                ZodObject<
                                    { text: ZodString; type: ZodLiteral<(...)> },
                                    "strip",
                                    ZodTypeAny,
                                    { text: string; type: "text" },
                                    { text: string; type: "text" },
                                >,
                                ZodObject<
                                    {
                                        tool_call: ZodObject<(...), (...), (...), (...), (...)>;
                                        tool_call_id: ZodString;
                                        type: ZodLiteral<(...)>;
                                    },
                                    "strip",
                                    ZodTypeAny,
                                    {
                                        tool_call: { arguments: ...; name: ...; type: ... };
                                        tool_call_id: string;
                                        type: "tool_call";
                                    },
                                    {
                                        tool_call: { arguments: ...; name: ...; type: ... };
                                        tool_call_id: string;
                                        type: "tool_call";
                                    },
                                >,
                                ZodObject<
                                    {
                                        tool_call_id: ZodString;
                                        tool_result: ZodUnion<(...)>;
                                        type: ZodLiteral<(...)>;
                                    },
                                    "strip",
                                    ZodTypeAny,
                                    {
                                        tool_call_id: string;
                                        tool_result: (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                        type: "tool_result";
                                    },
                                    {
                                        tool_call_id: string;
                                        tool_result: (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                        type: "tool_result";
                                    },
                                >,
                            ],
                        >,
                        "many",
                    >,
                ],
            >;
            role: ZodEnum<
                ["system", "developer", "user", "assistant", "model", "ai", "tool"],
            >;
        },
        "strip",
        ZodTypeAny,
        {
            content: | string
            | (
                | { text: string; type: "text" }
                | {
                    tool_call: { arguments: string; name: string; type: "function" };
                    tool_call_id: string;
                    type: "tool_call";
                }
                | {
                    tool_call_id: string;
                    tool_result: | null
                    | string
                    | number
                    | boolean
                    | unknown[]
                    | Record<string, unknown>;
                    type: "tool_result";
                }
            )[];
            role: | "user"
            | "assistant"
            | "model"
            | "ai"
            | "tool"
            | "system"
            | "developer";
        },
        {
            content: | string
            | (
                | { text: string; type: "text" }
                | {
                    tool_call: { arguments: string; name: string; type: "function" };
                    tool_call_id: string;
                    type: "tool_call";
                }
                | {
                    tool_call_id: string;
                    tool_result: | null
                    | string
                    | number
                    | boolean
                    | unknown[]
                    | Record<string, unknown>;
                    type: "tool_result";
                }
            )[];
            role: | "user"
            | "assistant"
            | "model"
            | "ai"
            | "tool"
            | "system"
            | "developer";
        },
    >,
    "many",
> = ...