1 parent 7e3e85b commit 9f150b0Copy full SHA for 9f150b0
1 file changed
packages/opencode/src/provider/transform.ts
@@ -900,8 +900,7 @@ export namespace ProviderTransform {
900
const isPlainObject = (node: unknown): node is Record<string, any> =>
901
typeof node === "object" && node !== null && !Array.isArray(node)
902
const hasCombiner = (node: unknown) =>
903
- isPlainObject(node) &&
904
- (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))
905
const hasSchemaIntent = (node: unknown) => {
906
if (!isPlainObject(node)) return false
907
if (hasCombiner(node)) return true
0 commit comments