Variable phoenixMessageSchemaConst
phoenixMessageSchema: ZodObject<
{
content: ZodUnion<
readonly [
ZodString,
ZodArray<
ZodDiscriminatedUnion<
[
ZodObject<{ text: ZodString; type: ZodLiteral<"text"> }, $strip>,
ZodObject<
{
tool_call: ZodObject<
{ arguments: ...; name: ...; type: ... },
$strip,
>;
tool_call_id: ZodString;
type: ZodLiteral<"tool_call">;
},
$strip,
>,
ZodObject<
{
tool_call_id: ZodString;
tool_result: ZodUnion<
readonly [(...), (...), (...), (...), (...), (...)],
>;
type: ZodLiteral<"tool_result">;
},
$strip,
>,
],
"type",
>,
>,
],
>;
role: ZodEnum<
{
ai: "ai";
assistant: "assistant";
developer: "developer";
model: "model";
system: "system";
tool: "tool";
user: "user";
},
>;
},
$strip,
> = ...