Explorar el Código

fix-gemini-json

tenacious hace 1 año
padre
commit
cce2990db6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      relay/channel/gemini/relay-gemini.go

+ 1 - 1
relay/channel/gemini/relay-gemini.go

@@ -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")