Variable vercelAIMessageSchemaConst
vercelAIMessageSchema: ZodDiscriminatedUnion<
[
ZodObject<{ content: ZodString; role: ZodLiteral<"system"> }, $strip>,
ZodObject<
{
content: ZodUnion<
readonly [
ZodArray<
ZodUnion<
readonly [
ZodObject<{ text: ...; type: ... }, $strip>,
ZodObject<{ image: ...; mimeType: ...; type: ... }, $strip>,
],
>,
>,
ZodString,
],
>;
role: ZodLiteral<"user">;
},
$strip,
>,
ZodObject<
{
content: ZodUnion<
readonly [
ZodArray<
ZodUnion<
readonly [
ZodObject<{ text: ...; type: ... }, $strip>,
ZodObject<
{ input: ...; toolCallId: ...; toolName: ...; type: ... },
$strip,
>,
],
>,
>,
ZodString,
],
>;
role: ZodLiteral<"assistant">;
},
$strip,
>,
ZodObject<
{
content: ZodArray<
ZodObject<
{
output: ZodObject<
{ type: ZodLiteral<"text">; value: ZodString },
$strip,
>;
toolCallId: ZodString;
toolName: ZodString;
type: ZodLiteral<"tool-result">;
},
$strip,
>,
>;
role: ZodLiteral<"tool">;
},
$strip,
>,
],
"role",
> = ...