Variable openAIMessageSchemaConst
openAIMessageSchema: ZodDiscriminatedUnion<
[
ZodObject<
{
content: ZodUnion<
readonly [
ZodArray<
ZodObject<{ text: ZodString; type: ZodLiteral<"text"> }, $strip>,
>,
ZodString,
],
>;
name: ZodOptional<ZodString>;
role: ZodLiteral<"assistant">;
tool_call_id: ZodOptional<ZodString>;
tool_calls: ZodOptional<
ZodArray<
ZodObject<
{
function: ZodObject<
{ arguments: ZodString; name: ZodString },
$loose,
>;
id: ZodString;
type: ZodPipe<
ZodOptional<ZodLiteral<(...)>>,
ZodTransform<"function", (...) | (...)>,
>;
},
$strip,
>,
>,
>;
},
$loose,
>,
ZodObject<
{
content: ZodUnion<
readonly [
ZodArray<
ZodObject<{ text: ZodString; type: ZodLiteral<"text"> }, $strip>,
>,
ZodString,
],
>;
role: ZodLiteral<"tool">;
tool_call_id: ZodString;
},
$loose,
>,
ZodObject<
{
content: ZodNullable<ZodString>;
name: ZodString;
role: ZodLiteral<"function">;
},
$loose,
>,
],
"role",
> = ...