tenacious 1 год назад
Родитель
Сommit
cce2990db6
1 измененных файлов с 1 добавлено и 1 удалено
  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") {
 	if typeVal, exists := v["type"]; !exists || (typeVal != "object" && typeVal != "array") {
 		return schema
 		return schema
 	}
 	}
-
+	delete(v, "title")
 	switch v["type"] {
 	switch v["type"] {
 	case "object":
 	case "object":
 		delete(v, "additionalProperties")
 		delete(v, "additionalProperties")