fix: missing "properties" property in empty schema

This commit is contained in:
sinedied 2025-06-09 14:17:53 +02:00
commit 921ce70fa3

View file

@ -1018,6 +1018,7 @@ export type RegisteredTool = {
const EMPTY_OBJECT_JSON_SCHEMA = {
type: "object" as const,
properties: {},
};
// Helper to check if an object is a Zod schema (ZodRawShape)