diff options
| author | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-03-03 04:41:52 +0000 |
|---|---|---|
| committer | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-03-03 04:41:52 +0000 |
| commit | 9f150b07764c44ab5265d7cc2a3fa4e5909094b2 (patch) | |
| tree | ed4c8f3af6b20df8666a5e7b99492ab6238de236 | |
| parent | 7e3e85ba596b8fd837bc61410b4d224908486918 (diff) | |
| download | opencode-9f150b07764c44ab5265d7cc2a3fa4e5909094b2.tar.gz opencode-9f150b07764c44ab5265d7cc2a3fa4e5909094b2.zip | |
chore: generate
| -rw-r--r-- | packages/opencode/src/provider/transform.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/opencode/src/provider/transform.ts b/packages/opencode/src/provider/transform.ts index 4be3035ab..6980be051 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<string, any> => 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 |
