Преглед изворни кода

Merge remote-tracking branch 'origin/main'

CalciumIon пре 1 година
родитељ
комит
cf3287a10a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      relay/channel/gemini/relay-gemini.go

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

@@ -206,7 +206,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")