fix(antigravity): remove exclusiveMaximum from JSON during key deletion

This commit is contained in:
Luis Pater
2025-12-08 23:28:01 +08:00
parent 6ad188921c
commit af00304b0c

View File

@@ -536,6 +536,7 @@ func (e *AntigravityExecutor) buildRequest(ctx context.Context, auth *cliproxyau
strJSON = util.DeleteKey(strJSON, "minLength")
strJSON = util.DeleteKey(strJSON, "maxLength")
strJSON = util.DeleteKey(strJSON, "exclusiveMinimum")
strJSON = util.DeleteKey(strJSON, "exclusiveMaximum")
paths = make([]string, 0)
util.Walk(gjson.Parse(strJSON), "", "anyOf", &paths)