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