[Fix] Allow closed object schemas in Outlines prevalidation (#39869)
This commit is contained in:
@@ -127,6 +127,7 @@ class TestOutlinesJSONSchemaValidation(unittest.TestCase):
|
||||
},
|
||||
},
|
||||
"required": ["name"],
|
||||
"additionalProperties": False,
|
||||
}
|
||||
)
|
||||
|
||||
@@ -155,7 +156,7 @@ class TestOutlinesJSONSchemaValidation(unittest.TestCase):
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {"name": {"type": "string"}},
|
||||
"additionalProperties": False,
|
||||
"additionalProperties": True,
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
|
||||
Reference in New Issue
Block a user