Variable contextDocumentContentSchemaConst
contextDocumentContentSchema: ZodObject<
{
content: ZodString;
end_byte: ZodOptional<ZodNumber>;
end_line: ZodOptional<ZodNumber>;
id: ZodString;
limit: ZodOptional<ZodNumber>;
metadata: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
offset: ZodOptional<ZodNumber>;
start_byte: ZodOptional<ZodNumber>;
start_line: ZodOptional<ZodNumber>;
title: ZodOptional<ZodString>;
total_lines: ZodNumber;
total_size: ZodNumber;
unit: ZodOptional<ZodString>;
},
"strip",
ZodTypeAny,
{
content: string;
end_byte?: number;
end_line?: number;
id: string;
limit?: number;
metadata?: Record<string, unknown>;
offset?: number;
start_byte?: number;
start_line?: number;
title?: string;
total_lines: number;
total_size: number;
unit?: string;
},
{
content: string;
end_byte?: number;
end_line?: number;
id: string;
limit?: number;
metadata?: Record<string, unknown>;
offset?: number;
start_byte?: number;
start_line?: number;
title?: string;
total_lines: number;
total_size: number;
unit?: string;
},
> = ...
Runtime validator for ContextDocumentContent.