We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0831bcc commit 891b72aCopy full SHA for 891b72a
1 file changed
mellea/backends/tools.py
@@ -936,8 +936,8 @@ def _is_complex_anyof(v: dict) -> bool:
936
# Skip null types - they just indicate optionality
937
if sub_schema.get("type") == "null":
938
continue
939
- # Check for references, nested properties, or allOf (inherited models)
940
- if "$ref" in sub_schema or "properties" in sub_schema or "allOf" in sub_schema:
+ # Check for references or nested properties (don't recursively check allOf)
+ if "$ref" in sub_schema or "properties" in sub_schema:
941
return True
942
return False
943
0 commit comments