Merge pull request #598 from sinedied/fix-empty-schema

fix: missing "properties" property in empty schema
This commit is contained in:
Inna Harper 2025-06-30 13:20:42 +01:00 • committed by GitHub
commit 7682c4cf4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1182,6 +1182,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)