diff --git a/packages/opencode/src/provider/transform.ts b/packages/opencode/src/provider/transform.ts index 4be3035ab6..6980be0518 100644 --- a/packages/opencode/src/provider/transform.ts +++ b/packages/opencode/src/provider/transform.ts @@ -900,8 +900,7 @@ export namespace ProviderTransform { const isPlainObject = (node: unknown): node is Record => typeof node === "object" && node !== null && !Array.isArray(node) const hasCombiner = (node: unknown) => - isPlainObject(node) && - (Array.isArray(node.anyOf) || Array.isArray(node.oneOf) || Array.isArray(node.allOf)) + isPlainObject(node) && (Array.isArray(node.anyOf) || Array.isArray(node.oneOf) || Array.isArray(node.allOf)) const hasSchemaIntent = (node: unknown) => { if (!isPlainObject(node)) return false if (hasCombiner(node)) return true