Variable aIChatStreamDoneSchemaConst
aIChatStreamDoneSchema: ZodObject<
{
completions: ZodOptional<
ZodArray<
ZodObject<
{
response_model: ZodOptional<ZodString>;
timing: ZodOptional<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
>;
},
"strip",
ZodTypeAny,
{ response_model?: string; timing?: Record<string, {} | null> },
{ response_model?: string; timing?: Record<string, {} | null> },
>,
"many",
>,
>;
finish_reason: ZodOptional<ZodString>;
run_count: ZodOptional<ZodNumber>;
total_usage: ZodOptional<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
>;
usage: ZodOptional<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
>;
},
"strip",
ZodTypeAny,
{
completions?: {
response_model?: string;
timing?: Record<string, {} | null>;
}[];
finish_reason?: string;
run_count?: number;
total_usage?: Record<string, {} | null>;
usage?: Record<string, {} | null>;
},
{
completions?: {
response_model?: string;
timing?: Record<string, {} | null>;
}[];
finish_reason?: string;
run_count?: number;
total_usage?: Record<string, {} | null>;
usage?: Record<string, {} | null>;
},
> = ...
Runtime validator for AIChatStreamDone.