fix-gemini-json
This commit is contained in:
1 parent
69c590d439
commit
8a5d0d0f50
1 file changed
+1
-1
@@ -193,7 +193,7 @@ func removeAdditionalPropertiesWithDepth(schema interface{}, depth int) interfac
|
||||
if typeVal, exists := v["type"]; !exists || (typeVal != "object" && typeVal != "array") {
|
||||
return schema
|
||||
}
|
||||
|
||||
delete(v, "title")
|
||||
switch v["type"] {
|
||||
case "object":
|
||||
delete(v, "additionalProperties")
|
||||
|
||||
Reference in new issue
Block a user