Variable ChatResponseSchemaConst Internal
ChatResponseSchema: ZodObject<
{
message: ZodObject<
{
content: ZodUnion<readonly [ZodString, ZodArray<ZodAny>, ZodNull]>;
role: ZodLiteral<"assistant">;
tool_calls: ZodOptional<
ZodArray<
ZodObject<
{
function: ZodObject<
{ arguments: ZodString; name: ZodString },
$strip,
>;
id: ZodString;
type: ZodLiteral<"function">;
},
$strip,
>,
>,
>;
},
$strip,
>;
},
$strip,
> = ...
Response from chat handler (non-streaming).